Re: [Boa Constr] control layout in GUI Designer
Status: Beta
Brought to you by:
riaan
From: Geoff T. <gta...@na...> - 2001-01-18 18:00:36
|
Riaan Booysen wrote: > Ouch! No I didn't try it, but I used to have it at at 4 a while ago > and assumed it would still work. > > You are running the CVS version of Boa? Yes. > This uncovered a hack that granulises the frame size when it is resized. > > in Views.Designer.OnControlResize change the following: > > # Granularise frame sizing so that controls inside main frame > # fits exactly > sze = dsgn.GetSize() > granSze = granularise(sze.x), granularise(sze.y)+3 > dsgn.SetSize(granSze) > > to > > # Granularise frame sizing so that controls inside main frame > # fits exactly > sze = dsgn.GetClientSize() > granSze = granularise(sze.x), granularise(sze.y) > if sze.asTuple() != granSze: > dsgn.SetClientSize(granSze) > That fixed the problem -- thanks for the help! -- - Geoff Talvola Parlance Corporation gta...@Na... |