Box size with textfield (JBOX_GROWY + JBOX_TEXTFIELD)

Apr 13, 2012 at 11:21am

Box size with textfield (JBOX_GROWY + JBOX_TEXTFIELD)

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 ?


- Luigi


You must be logged in to reply to this topic.