alejandroautalan / pygubu

A simple GUI builder for the python tkinter module
MIT License
2.02k stars 212 forks source link

How do I change the Rows and Columns of a widget? #206

Closed 2briancox closed 4 years ago

2briancox commented 4 years ago

In a previous version of Pygubu-designer I was able to change the Rows and Columns of a Widget under "Layout". But no more with the newest version; 0.10.2.

Everything comes in as Row 0, Column 0 and I cannot figure out how to change it.

2briancox commented 4 years ago

Ok, I don't know what was happening, but earlier under "Manager" within "Layout" I only saw...

pack place

But now suddenly I also have the option of "grid". So it is working now.

alejandroautalan commented 4 years ago

Hi shenlebantongying, thanks for trying pygubu.

I know someone would search to here, for future reference:

You need 3 or more widgets to enable the "grid" in the manager.

If you only have 1 or 2 widigts, the pygubu will only let you use "pack" and "place".

That is not correct. Inside a container widget, the manager types available for select will depend on the manager type choosed for the first child widget. See this example https://github.com/alejandroautalan/pygubu-designer/issues/4#issuecomment-719982525

Regards. Alejandro A.