TextAreaStyle

Provides custom styling for TextArea. More...

Import Statement: import QtQuick.Controls.Styles 1.1
Since: Qt 5.2
Inherits:

ScrollViewStyle

Properties

Detailed Description

Example:

TextArea {
    style: TextAreaStyle {
        textColor: "#333"
        selectionColor: "steelblue"
        selectedTextColor: "#eee"
        backgroundColor: "#eee"
    }
}

Property Documentation

backgroundColor : color

The background color.


read-onlycontrol : TextArea

The TextArea attached to this style.


font : font

The current font.


renderType : int

Override the default rendering type for the control.

Supported render types are:

  • Text.QtRendering
  • Text.NativeRendering - the default

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.