[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

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

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 but