Re: [wxpython-users] Re: wx.Panel doubts...
by Robin Dunn other posts by this author
May 9 2008 10:22AM messages near this date
Re: [wxpython-users] Re: wx.Panel doubts...
|
Re: [wxpython-users] Re: wx.Panel doubts...
David Anderson wrote:
> Robin...
> Note that:
> The grid sizer is below the "row" of the image
Ok, I think I understand now. BTW, if you're going to send ascii art
then it's a good idea to send your message in plain text, not html with
proportional fonts.
The key to designing layouts with sizers is to simply decompose the
desired layout into nested boxes, and then work from the outside to the
inside in translating that into sizers. So for your example I would
start with a vertical box sizer that contains a horizontal box sizer and
the flex grid sizer, and the horizontal box sizer contains the label and
the image.
>
> Another thing, i'm using a StaticBitmap, And it always crashes when I
> try to put inside a sizer, If I dont put, it just appears at the
> left-top corner of the frame
It may be an issue with improper parentage, or putting it in a sizer
that belongs to a different parent window, or something similar. Try to
duplicate and isolate the problem in a small sample and if that doesn't
help you figure it out then send it here.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
David Anderson
David Anderson
Mark Erbaugh
Kalle Haglunds
python
David Anderson
Mike Driscoll
Jorgen Bodde
David Anderson
Robin Dunn
David Anderson
Robin Dunn
David Anderson
Robin Dunn
C M
|