take again size from the arrow
to be consistent with the old widget behavior
This commit is contained in:
parent
af618983e2
commit
fb8ec6f147
@ -28,8 +28,8 @@ PlasmaCore.FrameSvgItem {
|
|||||||
imagePath:"widgets/scrollbar"
|
imagePath:"widgets/scrollbar"
|
||||||
prefix: internalLoader.isVertical ? "background-vertical" : "background-horizontal"
|
prefix: internalLoader.isVertical ? "background-vertical" : "background-horizontal"
|
||||||
|
|
||||||
property int implicitWidth: scrollbarSvg.hasElement("hint-scrollbar-size") ? scrollbarSvg.elementSize("hint-scrollbar-size").width : 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 : 12
|
property int implicitHeight: scrollbarSvg.hasElement("hint-scrollbar-size") ? scrollbarSvg.elementSize("hint-scrollbar-size").height : scrollbarSvg.elementSize("arrow-left").height
|
||||||
|
|
||||||
Keys.onUpPressed: {
|
Keys.onUpPressed: {
|
||||||
if (!enabled || !internalLoader.isVertical)
|
if (!enabled || !internalLoader.isVertical)
|
||||||
|
Loading…
Reference in New Issue
Block a user