From: David Roe <DR<oe@kn...> - 2002-02-27 20:12:52
i have a splitter contained within a splitter, much like the wxPerl demo =
where the window is split vertically and the right pane split =
horizontally. i am trying to build mine from an external XML =
<splitter type=3D"vert" size=3D"150" style=3D"0">
<page name=3D"LeftPage" />
<splitter type=3D"horz" size=3D"150" style=3D"0">
<page name=3D"TopPage" />
<page name=3D"BottomPage" />
The problem is to do with calling either SplitHorizontally() or =
SplitVertically(). Because the data structure is nested, i split the =
right pane horizontally before i split the main window vertically. It =
appears that splitting vertically is causing the horizontal split size =
to be lost. The same can be demonstrated in the wxPerl demo but changing =
the order of the split calls (lines 226/227). Obviously, in the demo, =
you can choose the order, but in a nested data structure as above, the =
approach is one of completely rendering the child splitter before going =
back to the parent.
Any ideas appreciated.
Get latest updates about Open Source Projects, Conferences and News.