If I use a set height on textfields I can use "top" to position them.
However, they look horrible on different devices with different resolutions.
I prefer to use "auto" for height. However, then "top" is not accurate for positioning.
If I use a tableview, then the focus stops working on all textfields. This is a confirmed bug.
So it does not seem there is a very good way to use auto sizing and still position fields.
What is the recommended way to do this?
I have thought about dynamically getting the height of the fields, but cannot find a way to do it.
1 Answer
Accepted Answer
Hi , You can get height using :
win.add(textfield) // or whatever the parent is h1 = textfield.toImage().height;
Your Answer
Think you can help? Login to answer this question!