Am 25.02.2020 um 07:32 schrieb Christian Gollwitzer:
Am 24.02.20 um 22:29 schrieb mm0fmf:
Can anyone recommend a graphic layout designer for Tkinter programs.

I have a number of older C# Windows Forms apps that need porting so they can run on Linux and Windows and this is the chance to re-write them in Python. However, after using the forms designer in Visual Studio, manually coding up the widget positions etc. is a real pain in the backside

If you want a designer, use QT, which brings the Qt Designer. Be careful though - if you misuse them, you can end up with inflexible GUIs, where changes in the font or display resolution can mess up your interface. Always test that your windows act sensibly upon resizing.

Coming from Windows Forms this is especially important. Windows Forms doesn't have a sensible geometry manager. Tkinter and PyQt / PySide both have them, and it's quite a change at first. But in the long run it's much more comfortable to put your controls into layouts (or pack / grid them - tkinter) instead of placing each and every thing yourself.

Greetings
Sibylle


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to