On Wednesday 03 December 2008 03:17:01 pm alex wrote:
> Here's the recipe for something I tried (I'll include the cdxml at the
> end, but it probably won't help).
>
>
> Start up Class Designer.
> Create Vertical Sizer with 3 slots
> Insert a Button in middle slot
> In top slot, add a new spacer (size = 10)
>                  edit sizer setting for this spacer, set Proportion = 1
> In bottom slot - do same as in top slot
>
> [ at this point, it looks just like I'd expect - the button floats in
> the middle of the vertical height of the window, with two 'expanding',
> empty slots above and below it ]
>
> Save it to a  file
> Open the file
> [ now it looks wrong - the spacers have shrunk to very small - their
> slot's proportion has reverted to 0, and the 'expand' has also been lost ]
>
> Am I maybe setting the 'proportion' in the wrong place ?  But if so, why
> does it appear to work until it has been saved / re-read ?
>
> btw - this is all with
>

Works the same on Linux.  But I think it would have to do with the fact that 
you set the spacer to 10.   Which means take 10 pix's for space.   Try not 
setting the top sizer as a spacer.  It should as expected.  It does on my 
Linux box.



-- 
John Fabiani


_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to