use the background framesvg only in TextAreaStyle

This commit is contained in:
Marco Martin 2014-08-13 18:52:50 +02:00
parent 76d24e8fe2
commit 877c2a3325
2 changed files with 8 additions and 7 deletions

View File

@ -34,13 +34,7 @@ QtQuickControlStyle.ScrollViewStyle {
id: borderSvg
imagePath: "widgets/scrollwidget"
}
PlasmaCore.FrameSvgItem {
id: base
anchors.fill: parent
visible: control.backgroundVisible
imagePath: "widgets/lineedit"
prefix: "base"
}
PlasmaCore.SvgItem {
svg: borderSvg
z: 1000

View File

@ -42,6 +42,13 @@ ScrollViewStyle {
property real textMargin: 4
frame: PlasmaCore.FrameSvgItem {
id: base
anchors.fill: parent
visible: control.backgroundVisible
imagePath: "widgets/lineedit"
prefix: "base"
}
property Component cursorHandle
property Component selectionHandle
}