Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

TextField alignment difference between Titanium 3.5.1 and 4.0.0

$
0
0

Hello, I'm facing a strange difference between Titanium 3.5.1 and 4.0.0 in textfield alignments :

![Image here](http://pasteboard.co/1P9X2KSU.png "TextFields")

As you can see, content text is aligned to the top whith Ti 4.0.0.

My Alloy textfield tag :

<TextField id="email" hintText="Votre email"></TextField>
And my TSS :
"TextField" : {
  height: "40",
  backgroundColor:"#FFF",
  color: '#000000',
  borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,
  verticalAlign :Ti.UI.TEXT_VERTICAL_ALIGNMENT_CENTER,
  borderRadius: "7",
  hintTextColor: '#AAA',
  top: "10",
  left: "10",
  right: "10",
}
Does somebody have the same problem ? Do you have a solution ?

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>