XRC and dynamically created widgets?

John Salerno johnjsal at NOSPAMgmail.com
Mon Oct 2 13:19:44 PDT 2006


John Salerno wrote:

> So I hope someone can explain how to use XRC when you expect to create 
> new widgets during runtime.

::sigh:: This is still behaving strangely. I attach my two files (one 
for the program, one for XRC). For some reason when you go to File --> 
New Record, it properly creates a new tab, but the background changes to 
a darker color. But if you drag the window to a larger sizer, the rest 
of the revealed space is white, while the darker color remains in its 
original size.

Furthermore, once you create a second tab, then this dark color goes 
away altogether.

So what is it? Do I need to do something extra with a sizer, perhaps? Or 
sizer settings on the notebook or panel controls?

Thanks.




More information about the wxpython-users mailing list