TextFieldStyle
Provides custom styling for TextField. More...
This type was introduced in QtQuick.Controls.Styles 1.0.
Properties
- background : Component
- control : TextField
- font : font
- selectedTextColor : color
- selectionColor : color
- textColor : color
Detailed Description
Example:
TextField { style: TextFieldStyle { textColor: "black" background: Rectangle { radius: 2 implicitWidth: 100 implicitHeight: 24 border.color: "#333" border.width: 1 } } }
Property Documentation
background : Component |
The background of the text field.
font : font |
The current font.
selectedTextColor : color |
The highlighted text color, used in selections.
selectionColor : color |
The text highlight color, used behind selections.
textColor : color |
The text color.