Reputation: 537
I have a GUI built app and am trying to emulate the TextFIeld look of the Yahoo Mail page, where the underline of the TextField turns to blue when pressed.
I changed the "pressed" and "selected" state of the TextField UIID, but it only changes when I press it, but it doesn't stay that way and it turns back to grey.
Question: Is there some kind of "toggle" function in TextFields as in CheckBoxes, so the new state stays that way?
Upvotes: 1
Views: 121
Reputation: 52760
Only selected state is used in text field (not pressed) and it should remain blue. It seems this is an issue with Codename One possibly a recent regression due to recent changes to text editing.
I've filed an issue on that here.
Upvotes: 1