Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between LAYOUT_SIDE_* flags and LAYOUT_LEFT, LAYOUT_RIGHT,LAYOUT_TOP, LAYOUT_BOTTOM?

flags
0
10 Posted

What is the difference between LAYOUT_SIDE_* flags and LAYOUT_LEFT, LAYOUT_RIGHT,LAYOUT_TOP, LAYOUT_BOTTOM?

0
10

The LAYOUT_SIDE_* flags are only interpreted by the packer type layout managers. So its no use specifying them for widgets that are not in a FXPacker, FXDialogBox, FXTopWindow or FXMainWindow. The layout manager uses these flags to check on which side of the packer the widget is going to be. A widget may not take all of its assigned space. Thats where the other layout flags come in. The LAYOUT_LEFT,LAYOUT_RIGHT,LAYOUT_TOP and LAYOUT_BOTTOM basically give hints how to position the widget in the available space.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123