Allow overriding the color of SidebarCategoryHeader

This commit is contained in:
Arjen Hiemstra 2015-04-03 18:01:51 +02:00
parent 4f9258e951
commit d46e7daea2
2 changed files with 4 additions and 0 deletions

View File

@ -11,5 +11,7 @@ Button {
Layout.preferredHeight: UM.Theme.sizes.section.height; Layout.preferredHeight: UM.Theme.sizes.section.height;
Layout.preferredWidth: UM.Theme.sizes.section.width; Layout.preferredWidth: UM.Theme.sizes.section.width;
property variant color;
style: UM.Theme.styles.sidebar_category; style: UM.Theme.styles.sidebar_category;
} }

View File

@ -114,5 +114,7 @@ Column {
iconSource: UM.Theme.icons.printsetup; iconSource: UM.Theme.icons.printsetup;
text: qsTr("Print Setup"); text: qsTr("Print Setup");
enabled: false; enabled: false;
color: UM.Theme.colors.primary;
} }
} }