summaryrefslogtreecommitdiff
path: root/src/controls/Styles/iOS/TextAreaStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/iOS/TextAreaStyle.qml')
-rw-r--r--src/controls/Styles/iOS/TextAreaStyle.qml18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/controls/Styles/iOS/TextAreaStyle.qml b/src/controls/Styles/iOS/TextAreaStyle.qml
index a3bfdf80..6b8a1800 100644
--- a/src/controls/Styles/iOS/TextAreaStyle.qml
+++ b/src/controls/Styles/iOS/TextAreaStyle.qml
@@ -39,9 +39,19 @@
****************************************************************************/
import QtQuick 2.2
import QtQuick.Controls 1.2
-import QtQuick.Controls.Styles 1.3
+import QtQuick.Controls.Private 1.0
-TextAreaStyle {
- selectionHandle: SelectionHandleStyle{}
- cursorHandle: CursorHandleStyle{}
+ScrollViewStyle {
+ id: style
+
+ readonly property TextArea control: __control
+ property font font
+ property color textColor: SystemPaletteSingleton.text(control.enabled)
+ property color selectionColor: SystemPaletteSingleton.highlight(control.enabled)
+ property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled)
+ property color backgroundColor: control.backgroundVisible ? SystemPaletteSingleton.base(control.enabled) : "transparent"
+ property int renderType: Text.QtRendering
+ property Component selectionHandle: SelectionHandleStyle{}
+ property Component cursorHandle: CursorHandleStyle{}
+ property Component cursorDelegate: CursorDelegate{}
}