QtQuick2 TextField text not vertically center aligned on Android
-
I'm trying to create a simple Label/TextField pair, but the text in the TextField is not centered vertically when shown on my Samsung Galaxy S3. An un-editable Text control looks fine tough. I'm using Qt 5.3.1, QtQuick 2.2 and QtQuick.Controls 1.2.
@Row {
spacing: 10
anchors.centerIn: parentLabel { id: label text: "OG:" } TextField { text: "Text input" }
}@
Screenshot on SGS3:
"No text screenshot": https://www.dropbox.com/s/5embk7y7zt4qvqr/notext.png
"With text screenshot": https://www.dropbox.com/s/ixofwagytpor82g/withtext.pngNotice how the TextField's size changes when text is entered and that text is not aligned in the center vertically.