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 ?