I’m new to wxPython, and wrote a simple program using wxPython, see the GUI below:
As you can see the 2 text ctrl box are not aligned, and somehow the bottom of string “DB folder” are not aligned with Browser text ctrl box on the right.
It is a simple FlexGridSizer with 4 items, see the code below, could someone tell how fix the problem? Thanks so much in advanced!!
I'm new to wxPython, and wrote a simple program using wxPython, see the GUI below:
To figure things like this out you should use the WIT, see the attached code. Run it and then press "ctrl-alt-i", make sure that the "Sizer" toogle is active, then select your flexgrid sizer and click on highlight and so on.
The reason for the aligment issue is that DirBrowseButton has a border=3 which you don't do for your textctrl.
I’m new to wxPython, and wrote a simple program using wxPython, see the GUI below:
To figure things like this out you should use the WIT, see the attached code. Run it and then press “ctrl-alt-i”, make sure that the “Sizer” toogle is active, then select your flexgrid sizer and click on highlight and so on.
The reason for the aligment issue is that DirBrowseButton has a border=3 which you don’t do for your textctrl.