Skip to content
Discussion options

You must be logged in to vote

Yes, that is the expected behavior.

By default, the layout distributes the expansion percentage equally across all its cells. This has no effect on layouts that do not expand. However, in layouts that do expand, the expansion usually applies to only one or two cells; it is uncommon for a window to expand six widgets along the same horizontal or vertical axis. For this reason, each dynamically added column/row initializes its resize value to 0% so as not to alter the resize percentage of the other cells, which the user may have already set.

When cells are removed, the resize percentage is normalized, as the total must always equal 1.

Dynamically adding cells to layouts is not a common oper…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Jv0xB
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants