[wxpython-users] Re: wx.Panel doubts...

David Anderson zerty.david at gmail.com
Fri May 9 18:30:36 PDT 2008


Another doubt, Can I colour a sizer's border?
On Fri, May 9, 2008 at 2:22 PM, Robin Dunn <robin at alldunn.com> wrote:

> 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 desir=
ed
> 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 co=
rner
>> 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 h=
elp
> 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 at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200805=
09/12d55f9c/attachment.htm


More information about the wxpython-users mailing list