05-01-2012 03:47 PM
I'm working on a GUI having some BasicEditFields.
The screen has several Manager's, buttons and so forth.
After changing the text of the field, getContentHeight() returns a larger value.
I have specified padding and font, but the content height changes with the text field.
Is there any way to have a fix size for my BasicEditField that will not vary according to the text content?
05-01-2012 04:55 PM
Also, it is not possible to override getContentHeight() (it's marked as final).
Overriding getPreferredHeight() gives me the same problem: my preferences are ignored and the BasicEditField getContentHeight() returns a variable value. (Sometimes 37, sometimes 38)