Hint text in LWUIT
-
27-10-2019 - |
문제
In LWUIT, some components (like the textField) have a hint property. Is there anyway to change this text´s format?
I need to modify font and color. Is it possible?
해결책
Yeah its possible. Hint UIID name is TextHint
. So you can use Component name as TextHint
on Unselected style on ResourceEdit file.
다른 팁
TextField font and color changes code:
txtName.getStyle().setFont(Font.createSystemFont(Font.FACE_MONOSPACE, Font.STYLE_PLAIN, Font.SIZE_MEDIUM));
txtName.getStyle().setFgColor(0XFFAA00);
제휴하지 않습니다 StackOverflow