sizers 101 (was Re: Starting again simply)

Hi Viki,

You are alinging the buttons on the right of one (lower left) cell
of the flex grid sizer. You actually want the buttons
in a different cell, over on the right. If you add
two 'spacers' to your flexsizer, then you'll have two
empty cells to the left of your buttons, and your buttons
will be on the right:

        #Now add the output box and the flexgridsizer to the
outerboxsize
        #Create the outer sizer which does the layout for the main
window.
        # I like to build fromt eh inside out, so I put this here.
        #It's really a matter of taste.

        flexsizer.Add((20, 20), 0, 0, 0)
        flexsizer.Add((20, 20), 0, 0, 0)

        flexsizer.Add(buttonsizer, wx.ALIGN_RIGHT, 10)

-Jim

···

-----Original Message-----
From: Stanfield, Vicki {D167~Indianapolis}
[mailto:vicki.stanfield@ROCHE.COM]
Sent: Friday, July 16, 2004 11:15 AM
To: wxPython-users@lists.wxwidgets.org
Subject: RE: [wxPython-users] sizers 101 (was Re:
[wxPython-users] Starting again simply)

Forgot to attach the file.

>-----Original Message-----
>From: Peter Damoc [mailto:pdamoc@gmx.net]
>Sent: Friday, July 16, 2004 9:58 AM
>To: wxPython-users@lists.wxwidgets.org
>Subject: Re: [wxPython-users] sizers 101 (was Re:
>[wxPython-users] Starting again simply)
>
>
>On Fri, 16 Jul 2004 09:31:16 -0500 (EST), > <vicki@thepenguin.org> wrote:
>> I honestly have. I just don't see what I am doing differently.
>>
>> --vicki
>
>send me an email with the source code attached :slight_smile: I'll look
>and try to
>figure out what's wrong. :slight_smile:
>
>--
>Peter Damoc
>Hacker Wannabe
>http://www.sigmacore.net/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail:
wxPython-users-unsubscribe@lists.wxwidgets.org
>For additional commands, e-mail:
>wxPython-users-help@lists.wxwidgets.org
>
>