I have designed a GUI with wxGlade in python and the design within the program looks fine.

enter image description here

But once i had generated the code and ran it in idle, it looks much different.

enter image description here

I would like to know why this has happened, what went wrong and what i can do to fix this problem.

I am using Python 2.7(32bit) and Windows 7 with the latest wxpython and wxglade installation.

The wxglade file is here: http://www.fileswap.com/dl/cH4kAoUk6S/

有帮助吗?

解决方案

Stretch the borders of your app on run, the elements are there. For some reason, the elements are not being drawn on load, but instead on event change.

For seeing the results as it should, un-check the size option, save and generate code :)

size

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top