Re: [Boa Constr] Stretchable spacers
Status: Beta
Brought to you by:
riaan
From: Alexei V. <ale...@gm...> - 2008-08-07 12:34:50
|
Thanks for your suggestion, Riaan. I first tried setting wx.ALIGN_RIGHT for the 'OK' button, but it didn't work. I tried setting it for the parent panel, and it worked. Now I'm wondering if I did the right thing. Sorry if my questions seem to be basic ones, it's just that I haven't mastered sizers well enough yet. On 8/7/08, Riaan Booysen <riaan@e.co.za> wrote: > Hi Alexei, > > On Thu, Aug 7, 2008 at 12:02 PM, Alexei Vinidiktov > <ale...@gm...> wrote: >> Hi Werner and Riaan, >> >> Yes, I'd like to be able to add stretchable space to a sizer via a >> call to AddStretchSpacer. I've also seen it commented in the Boa >> source code. >> >> Can you suggest an alternative to calling AddStretchSpacer? >> >> Basicly, I have a panel at the bottom of a dialog. I've placed a >> BoxSizer into it and I want to position an "OK" button on the right >> side of the panel. > > You can just set wx.ALIGN_RIGHT in the Flag property of the sizer item. > >> By the way, what the ETA for the new release of Boa Constructor? > > There are a few new unfinished features I need to complete first and a > few bugs to fix. > > I hope there will be a new release relatively soon, but can't give a > date yet, sorry. > > Cheers, > Riaan. > -- Alexei Vinidiktov |