Add borders to expandable components

This adds a lining to all of the drop-downs from the stage menus.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-11-19 13:50:32 +01:00
parent a490e420f0
commit 30b20b4aa5
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -17,6 +17,8 @@ Item
property var popupItem
property color popupBackgroundColor: UM.Theme.getColor("action_button")
property int popupBorderWidth: UM.Theme.getSize("default_lining").width
property color popupBorderColor: UM.Theme.getColor("lining")
property color headerBackgroundColor: UM.Theme.getColor("action_button")
property color headerHoverColor: UM.Theme.getColor("action_button_hovered")
@ -147,6 +149,8 @@ Item
background: Rectangle
{
color: popupBackgroundColor
border.width: popupBorderWidth
border.color: popupBorderColor
}
}
}