mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Add grip lines to bottom of resizable panel
Looks all right now. Contributes to issue CURA-6054.
This commit is contained in:
parent
e15e06f29f
commit
cfdce25a62
2 changed files with 22 additions and 0 deletions
|
@ -176,6 +176,24 @@ Item
|
||||||
UM.Preferences.setValue("view/settings_list_height", h);
|
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")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
4
resources/themes/cura-light/icons/grip_lines.svg
Normal file
4
resources/themes/cura-light/icons/grip_lines.svg
Normal 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 |
Loading…
Add table
Add a link
Reference in a new issue