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

2009-03-23 Thread M0E Lnx
On the object itself or it's parent? or both? 'cuz I'm trying it here, and none of these combos work -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform

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

2009-03-23 Thread Benoît Minisini
> 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 >

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

2009-03-23 Thread M0E Lnx
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 textlabe

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

2009-03-23 Thread Benoît Minisini
> I've always had this problem in gambas. Using gb.gtk > I have buttons, textlabels and such objects on a form. > My project is translatable, which means that the space needed for the > their .text property is not always the same. > > Is there a way gambas could figure out exacly object's width nee

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

2009-03-23 Thread M0E Lnx
I've always had this problem in gambas. Using gb.gtk I have buttons, textlabels and such objects on a form. My project is translatable, which means that the space needed for the their .text property is not always the same. Is there a way gambas could figure out exacly object's width needed to fit