Re: BoxLayout, strunt, rigidarea




doc. Zenobiusz Furman wrote:
Hello!

I've got a problem. Please look at the code below. When I use rigidarea to
spearate buttons, no matter how large is the frame, buttons are separated
properly. But when I use vertical and horizontal struts vertical space
between buttons is changing along with the frame size. What is the reason?
Thanks for any help.

<code snipped>

--
M.


Struts have unlimited maximum heights or widths (for horizontal and
vertical struts, respectively). This means that if you use a horizontal
box within a vertical box, for example, the horizontal box can
sometimes become too tall. For this reason, it's recommend that you
use rigid areas instead of struts.

Regards,

Bart

.


Quantcast