Provides custom styling for TextField. More...
Import Statement: | import QtQuick.Controls.Styles . |
Since: | Qt 5.1 |
Example:
TextField { style: TextFieldStyle { textColor: "black" background: Rectangle { radius: 2 implicitWidth: 100 implicitHeight: 24 border.color: "#333" border.width: 1 } } }
The TextField this style is attached to.
font : font |
The current font.
The password character that is displayed when echoMode on the TextField is set to TextInput.Password or TextInput.PasswordEchoOnEdit.
This QML property was introduced in QtQuick.Controls.Styles 1.4.
The placeholder text color, used when the text field is empty.
This QML property was introduced in QtQuick.Controls.Styles 1.1.
Override the default rendering type for the control.
Supported render types are:
The default value is platform dependent.
This QML property was introduced in QtQuick.Controls.Styles 1.1.
See also Text::renderType.