From d46e7daea251aff9a5d6ee761741c8612d6c3e37 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Fri, 3 Apr 2015 18:01:51 +0200 Subject: [PATCH] Allow overriding the color of SidebarCategoryHeader --- qml/SidebarCategoryHeader.qml | 2 ++ qml/SidebarHeader.qml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/qml/SidebarCategoryHeader.qml b/qml/SidebarCategoryHeader.qml index 69cf881600..1a9ffd75ac 100644 --- a/qml/SidebarCategoryHeader.qml +++ b/qml/SidebarCategoryHeader.qml @@ -11,5 +11,7 @@ Button { Layout.preferredHeight: UM.Theme.sizes.section.height; Layout.preferredWidth: UM.Theme.sizes.section.width; + property variant color; + style: UM.Theme.styles.sidebar_category; } diff --git a/qml/SidebarHeader.qml b/qml/SidebarHeader.qml index 024cdf16d7..8d0601794a 100644 --- a/qml/SidebarHeader.qml +++ b/qml/SidebarHeader.qml @@ -114,5 +114,7 @@ Column { iconSource: UM.Theme.icons.printsetup; text: qsTr("Print Setup"); enabled: false; + + color: UM.Theme.colors.primary; } }