[Gambas-user] adjusting objects .width property in proportion to their .text property

Benoît Minisini gambas at ...1...
Mon Mar 23 21:31:44 CET 2009


> Does the AutoResize property work when the object is a child to
> something like an hbox whose .expand property is set to true?
> I'm having a hard time getting this to work on mine here.
>
> I have an HBOX set expand=true
> All child objects of this hbox have their .expand property set to true
> but textlabels still dont shrink/expand to their .text property.
>
> how is this supossed to work?
>

Do not set the Expand property if you want a Label or TextLabel to autoresize.

-- 
Benoît





More information about the User mailing list