Made the hardcoded values of ExpandableComponent themable

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-15 14:11:46 +01:00
parent 3629e3b604
commit 6dd6f5ecc7
2 changed files with 5 additions and 4 deletions

View file

@ -17,10 +17,10 @@ Item
property var popupItem
// The background color of the popup
property color popupBackgroundColor: "white"
property color popupBackgroundColor: UM.Theme.getColor("action_button")
property color headerBackgroundColor: "white"
property color headerHoverColor: "white"
property color headerBackgroundColor: UM.Theme.getColor("action_button")
property color headerHoverColor: UM.Theme.getColor("action_button_hovered")
// How much spacing is needed around the popupItem
property alias popupPadding: popup.padding