From fb8ec6f14741b435f738d6766664b1c2b9b9d3d4 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 18 Oct 2012 13:50:12 +0200 Subject: [PATCH] take again size from the arrow to be consistent with the old widget behavior --- .../plasmacomponents/qml/private/ScrollBarDelegate.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/declarativeimports/plasmacomponents/qml/private/ScrollBarDelegate.qml b/declarativeimports/plasmacomponents/qml/private/ScrollBarDelegate.qml index 579203f6b..7f925492a 100644 --- a/declarativeimports/plasmacomponents/qml/private/ScrollBarDelegate.qml +++ b/declarativeimports/plasmacomponents/qml/private/ScrollBarDelegate.qml @@ -28,8 +28,8 @@ PlasmaCore.FrameSvgItem { imagePath:"widgets/scrollbar" prefix: internalLoader.isVertical ? "background-vertical" : "background-horizontal" - property int implicitWidth: scrollbarSvg.hasElement("hint-scrollbar-size") ? scrollbarSvg.elementSize("hint-scrollbar-size").width : 12 - property int implicitHeight: scrollbarSvg.hasElement("hint-scrollbar-size") ? scrollbarSvg.elementSize("hint-scrollbar-size").height : 12 + property int implicitWidth: scrollbarSvg.hasElement("hint-scrollbar-size") ? scrollbarSvg.elementSize("hint-scrollbar-size").width : scrollbarSvg.elementSize("arrow-up").width + property int implicitHeight: scrollbarSvg.hasElement("hint-scrollbar-size") ? scrollbarSvg.elementSize("hint-scrollbar-size").height : scrollbarSvg.elementSize("arrow-left").height Keys.onUpPressed: { if (!enabled || !internalLoader.isVertical)