[wxpython-users] Re: Problems on lay-outing (again), Problems with alignment and sizers -- Attached Screen Shot =)

David Anderson zerty.david at gmail.com
Mon May 12 15:37:17 PDT 2008


Here's the code
On Mon, May 12, 2008 at 4:35 PM, David Anderson <zerty.david at gmail.com>
wrote:

>
>
> Hi, take a look at the attached screenshot
> I've made like this:
> On the top there's a BoxSizer(wx.HORIZONTAL),
> then put there, the Static text on the left, with wx.ALIGN_LEFT, and the
> logo on the right, with wx.ALIGN_RIGHT,
> Which I called InnerHBox
> below it has a BoxSizer(wx.Vertical), named InnerVBox, where I've added,
> the Static Text's (Add order, Order item , etc), and ah wx.GridSizer,
> then it has the OuterVBox, which I've added the InnerVBox with
> wx.ALIGN_TOP, then the innerVBOX, with wx.ALIGN_CENTER
>
> The thing is, I want the logo to be in the extreme left top corner, put
> the grid sizer exactly on the middle of the screen, and I have another
> doubt, the GridSizer items are StaticTexts with a size that is (200,20) h=
ow
> can I put the text exactly on the mid of the White Bg?
>
>
> Thanks for all your help =3D)
>
>
> ScreenShot: http://img74.imageshack.us/img74/3721/addorderll4.jpg
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200805=
12/d053e880/attachment.htm


More information about the wxpython-users mailing list