diff --git a/src/declarativeimports/plasmacomponents/qml/styles/TextAreaStyle.qml b/src/declarativeimports/plasmacomponents/qml/styles/TextAreaStyle.qml index 588fc2f41..a4954eaa1 100644 --- a/src/declarativeimports/plasmacomponents/qml/styles/TextAreaStyle.qml +++ b/src/declarativeimports/plasmacomponents/qml/styles/TextAreaStyle.qml @@ -27,10 +27,13 @@ import org.kde.plasma.components 2.0 as PlasmaComponents import "../private" as Private -/*It inherits the local ScrollViewStyle, not the one from qtcontrols*/ -ScrollViewStyle { +QtQuickControlStyle.TextAreaStyle { id: style + ScrollViewStyle { + id: svs + } + readonly property TextArea control: __control property font font: theme.defaultFont @@ -62,6 +65,12 @@ ScrollViewStyle { style.padding.bottom = base.margins.bottom } } + + scrollBarBackground: svs.scrollBarBackground + handle: svs.handle + incrementControl: svs.incrementControl + decrementControl: svs.decrementControl + property Component cursorHandle property Component selectionHandle }