mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 15:27:53 -06:00
Allow overriding the color of SidebarCategoryHeader
This commit is contained in:
parent
4f9258e951
commit
d46e7daea2
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue