Provides custom styling for TextField. More...
Import Statement: | import QtQuick.Controls.Styles 1.4 |
Since: | Qt 5.1 |
Example:
TextField { style: TextFieldStyle { textColor: "black" background: Rectangle { radius: 2 implicitWidth: 100 implicitHeight: 24 border.color: "#333" border.width: 1 } } }
background : Component |
The background of the text field.
font : font |
The current font.
passwordCharacter : string |
placeholderTextColor : color |
The placeholder text color, used when the text field is empty.
This QML property was introduced in QtQuick.Controls.Styles 1.1.
renderType : int |
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.
selectedTextColor : color |
The highlighted text color, used in selections.
selectionColor : color |
The text highlight color, used behind selections.
textColor : color |
The text color.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: