Forums > Dev

Box size with textfield (JBOX_GROWY + JBOX_TEXTFIELD)

April 13, 2012 | 11:21 am

Hi there,

I am writing an UI object with a textfield.
I am trying to implement a behavior such that when I resize the object box its aspect ratio is kept constant (JBOX_GROWY). However, when the box textfield is enabled (JBOX_TEXTFIELD), it seems that the box size gets connected to the textfield’s margins. This doesn’t allow control over the box size independently from the textfield margins/fontsize, etc…
Is it possible to decouple the object box size from the textfield, yet keeping the box aspect ratio fixed ?

Thanks.

- Luigi


Viewing 1 post (of 1 total)