Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

tab text in textinput/placeholder

I am trying to tab the text to look like the first s/s, text position in textinput,
it currently displays as second s/s/

the textinput is populated from data base,
how do I tab the text

Image

Image

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

tab text in textinput/placeholder

Are you trying to add a space before the value, inside the input field?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

tab text in textinput/placeholder

Hi Michael,

Output is set in your custom "ios" theme. To edit Input component you would need to change lines 503-511 in your theme:
code
input.ui-input-text, .ui-input-search {
height: 29px;
line-height: 29px;
padding-top: 0;
padding-bottom: 0;
border-radius: 100px;
box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
font-size: 14px;
}/code

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

tab text in textinput/placeholder

Thanks for the replies,

Yes Max, I would like the text to begin at the start of the end of the curve on the input component, if that makes any sense

Katya
I replaced the code above, as s/s but it had no effect

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

tab text in textinput/placeholder

Hi, try the following code instead the code Katya suggested above:

codechange lines 503-511 in your theme
input.ui-input-text, .ui-input-search {
height: 29px;
line-height: 29px;
padding: 0 15px !important;
box-sizing: border-box;
border-radius: 100px;
box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
font-size: 14px;
}/code

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

tab text in textinput/placeholder

Hi Marina,
thanks for the reply,
I have change css and it worked, but created this, see s/s

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

tab text in textinput/placeholder

Looks like you have old browser version. Please replace the code Katya and I suggested with the following:

codeinput.ui-input-text, .ui-input-search {
height: 29px;
line-height: 29px;
padding: 0 5px !important;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border-radius: 100px;
box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
font-size: 14px;
}/code

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

tab text in textinput/placeholder

Great result Marina!

thanks alot, this is the result, back to where it was before update,

Image

Return to “Issues”