Hi,
Some platforms allow it, but you would be better off to put all the
content in another panel which is the only child of the frame, and then
draw in it.
Yeah, I made this adjustment as soon as I noticed I had to draw a line between
(0,20) and (0,20) :).
Are the panels adjacent or is there space between them? Are the buttons
next to the edge of their panels or is there space between the edge of
the parent and the button? The reason I ask these questions is that it
will determine where you need to draw. Think of the contents of your
Frame as a stack of differently sized and shaped pancakes, and on top of
the largest pancake at the bottom of the stack you have three smaller
pancakes each with a collection of tiny pancakes on top of that. Now
visualize looking at the pancakes from above and make a line of syrup
from one of the tiny pancakes in one substack to a tiny pancake in
another substack. Which pancake(s) does the syrup touch on its way from
one to the other? Those are the window(s) where you need to draw the
line, or a fragment of the line.
-There is space between the buttons, so the line drawing comes somewhat
difficult when operating with multiple frames. Thanks for the point and nice
example! I just would prefer a pancake right now.
Do you need the 3 panels for something other than helping with the
layout? If not you might consider not using those panels and just put
the buttons directly on the main panel and put their vertical sizers
directly in the main horizontal sizer. Then you'll only need to worry
about putting the lines on the main panel.
-Those panels were there only for the layout. I have started to work with
GridBagSizer, I don't know whether it would be easier only to use horizontal
BoxSizer and add there three vertical BoxSizers??
Anyway, thanks for help,
best,
Jarno
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org