Layerview scrollbar now has fixed size.

Instead of using the size of the other items. This worked when the bar was still part of the larger view, but since it's now
below the item it broke it.

CURA-4342
This commit is contained in:
Jaime van Kessel 2017-09-20 13:35:13 +02:00
parent ade1c039ea
commit b434fdb875

View file

@ -342,7 +342,7 @@ Item
{ {
id: slider id: slider
width: handleSize width: handleSize
height: parent.height - 2*UM.Theme.getSize("slider_layerview_margin").height height: UM.Theme.getSize("layerview_menu_size").height
anchors.top: parent.bottom anchors.top: parent.bottom
anchors.topMargin: UM.Theme.getSize("slider_layerview_margin").height anchors.topMargin: UM.Theme.getSize("slider_layerview_margin").height
anchors.right: layerViewMenu.right anchors.right: layerViewMenu.right