-
Notifications
You must be signed in to change notification settings - Fork 1
grid again
AlfonsMittelmeyer edited this page Aug 1, 2017
·
2 revisions
If a widget already had a grid layout, but when then an unlayout - grid_remove() - was done:
then the widget isn't visible any more
Pressing the button 'grid'
makes the widget visible at it's former grid position with all it's grid parameters as before.
A typical case for grid_remove() and grid() are alternate gui parts of different size. If it's the same size, also lift() and positioning in trhe same grid cell may be used.
Here a minsize is only defined for the column width. The row height is configured with 0. So labelframe1 or 2 may vanish without something remaining visible.
Here the layout was removed from labelFrame2 combined with grid() for labelFrame1
And here from labelFrame1 combined with grid() for labelFrame2