from place to grid - AlfonsMittelmeyer/python-gui-messaging GitHub Wiki

from place to grid

Here is a buttton with a grid layout and a labelframe with a place layout

enter image description here

The labelframe shall be placed in the grid cell under its left upper corner

Simply press button 'grid'

enter image description here

And the labelframe is positioned in this grid cell

enter image description here

If the labelframe shall not expand this grid cell, we use rowspan and columnspan

enter image description here

This labelframe has a size by itself, so sticky could be changed from 'nesw' to 'nw'. Seemingly rowspan 2 would be sufficent, but very narrow, so better take 3.