PDA

View Full Version : Textfield Issue align right



jorgeluislay
24 Aug 2012, 1:05 PM
Hi there!

I would like to set the textfield (not the lable) but the content of the box on the right.

textLabel: | someText |

and it should be like:

textLabel: | someText |

Is it possible ?

sword-it
24 Aug 2012, 10:33 PM
Hi!

you may try following:-

CSS:-
.myTextField input{text-align:right}



{
xtype:"textfield",
cls:'myTextField'
}



Output:-
38246

jorgeluislay
25 Aug 2012, 1:05 AM
yes, thank you. It does work!

Manoj Solanki
18 Dec 2012, 2:48 AM
Hello friends,

I am facing problem when I reduce the height of Textfield(below minHeight) the text inside it, is out from it and also the clear icon is misplaced.

Can anyone help me...
Thanks in advance..