alejandroautalan / pygubu-designer

A simple GUI designer for the python tkinter module
GNU General Public License v3.0
828 stars 101 forks source link

Prevent grid row/col from showing in treeview when widget is using pack or place #80

Closed jrezai closed 2 years ago

jrezai commented 2 years ago

Fixes a bug: When there is a widget without siblings and its geometry manager is set to 'grid', changing it to 'pack' or 'place', it will still show the grid row/col in the object treeview.

This pull request will clear the grid row/col from the object treeview (for that widget) when the geometry manager changes from grid to pack or grid, when the widget doesn't have any siblings.

Example: before after