Add grip lines to bottom of resizable panel

Looks all right now.

Contributes to issue CURA-6054.
This commit is contained in:
Ghostkeeper 2019-01-03 17:06:17 +01:00
parent e15e06f29f
commit cfdce25a62
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
2 changed files with 22 additions and 0 deletions

View file

@ -176,6 +176,24 @@ Item
UM.Preferences.setValue("view/settings_list_height", h);
}
}
UM.RecolorImage
{
width: parent.width * 0.05
sourceSize.height: height
sourceSize.width: width
anchors
{
horizontalCenter: parent.horizontalCenter
top: parent.top
topMargin: UM.Theme.getSize("thick_lining").height
bottom: parent.bottom
bottomMargin: UM.Theme.getSize("thick_lining").height
}
source: UM.Theme.getIcon("grip_lines")
color: UM.Theme.getColor("lining")
}
}
}
}

View file

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 6">
<rect width="30" height="2" rx="1" ry="1" />
<rect width="30" height="2" rx="1" ry="1" y="4" />
</svg>

After

Width:  |  Height:  |  Size: 170 B