[wxruby-users] xml.load_panel

Alex Fenton alex at pressure.to
Mon Aug 25 10:12:10 EDT 2008


Max Salov wrote:
> Thanks for reply.
> Sorry for wrong topic subject
> In such case
>
> @new_panel = xml.load_panel @splitter,'PANEL'
> @splitter.replace_window @dummy_panel, @new_panel
> @dummy_panel.destroy
>
> 'PANEL' content(one static text) is rendered in upper-left corner of 
> splitter (left pane), while it supposed to be on the right
Hard to say without seeing actual code. With any query like this, a 
minimal and *runnable* sample that demonstrates the issue is best.

At a guess, you may need a Sizer within your Panel to ensure that the 
child text is placed in the right place.

alex


More information about the wxruby-users mailing list