Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
-
Windows 10
Android API 27, 30
IOS emulator
MacOS 13.0
Description
Text not centered inside the TextField when using Style other than the default (Material, Universal, and others)
TextField { id: usernameTextField placeholderText: qsTr("username") width: 250 height: 40 anchors { top: parent.top topMargin: giveDetailsLabel.anchors.topMargin + 36 horizontalCenter: parent.horizontalCenter horizontalCenterOffset: 0 } background: Rectangle { radius: 20 border.color: "#C9C9C9" border.width: 1 } verticalAlignment: TextField.AlignVCenter font.pixelSize: 16 font.weight: Font.Normal font.family: "Open Sans" leftPadding: 10 }
QT fourm link for images, i can't upload image here
Thank you.
Attachments
Issue Links
- is duplicated by
-
QTBUG-96884 Text Not centred in TextField when using Style other than the Default.
- Closed
-
QTBUG-96885 Text Not centred in TextField when using Style other than the Default.
- Closed
-
QTBUG-96886 Text Not centred in TextField when using Style other than the Default.
- Closed
-
QTBUG-96887 Text Not centred in TextField when using Style other than the Default.
- Closed