Size hintText

You must Login before you can answer or comment on any questions.

Hello, Im starting to program with Titanium and I have a problem. Im trying to use the hintText of the textfield but the size of text is too big for the textfield in the display.

The code is: var t_usuario = Ti.UI.createTextField({ top: '20dp', left: '40dp', width: '250dp', height: '30dp', hintText: 'Usuario', font:{fontSize: '14dp'}, backgroundColor: '#FFF', borderColor: '#CCC', verticalAlign: Ti.UI.TEXT_VERTICAL_ALIGNMENT_BOTTOM });

The hintText show cut in the textField. I use Titanium SDK 2.1.2 and android 2.2

Could you help me, please?

Thank you.

1 Answer

Your Answer

Think you can help? Login to answer this question!