Hello,
I am building an application where the user interface is defined in XRC.
I use xrced as editor. When I open a dialog from xrced (using view ->
Test), the dialog itself is sized so that all contols have sufficient
space, and the dialog window is not bigger than it needs to be. When I
open the dialog in my application, it receives a default size that seems
unrelated to what the contents require. I would like the dialog to get
the same size as xrced gives it; I would prefer not to have to hardcode
that size in the xrc file.
Attached is a sample xrc file and minimal app that, on my system,
demonstrate the problem. (I am unsure whether it is "legal" to open a
dialog directly from the application instance, but is seems to work and
shows the problem. In my application it is opened from a proper frame.)
System: Python 2.5.1, wxPython 2.8.7.1.
ยทยทยท
--
Gertjan Klein <gklein@xs4all.nl>