[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:30 PDT 2008
On Mon, May 12, 2008 at 7:37 PM, David Anderson <zerty.david at gmail.com>
wrote:
>
> Here's the code
> http://pgsql.privatepaste.com/e801QTaDVi
> 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)=
how
> > 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/5d985870/attachment-0001.htm
More information about the wxpython-users
mailing list