Re: Stretchable spacers
"Alexei Vinidiktov" <[email protected]>
| Newsgroups | gmane.comp.ide.boa-constructor.user |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> wrote: > Hi Alexei, > > On Thu, Aug 7, 2008 at 12:02 PM, Alexei Vinidiktov > <[email protected]> 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/