Python Forum
[Tkinter] How to make one widget longer than others without moving the others. - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: [Tkinter] How to make one widget longer than others without moving the others. (/thread-24625.html)



How to make one widget longer than others without moving the others. - GalaxyCoyote - Feb-23-2020

I am working on a project that requires that the table at the top of the window is the length of the whole window, but I don't want the space between the other widgets.

I see no way of doing this, and I might just have to have a whole other window for it.

I am not using classes, because this is just a small project and I see no need for them in tkinter, at least for my use.


RE: How to make one widget longer than others without moving the others. - Larz60+ - Feb-23-2020

use id and vary columnspan (rowspan for width)
you may also have to adjust weight