Add horizontal margins to setting category headers

This commit is contained in:
fieldOfView 2015-11-25 13:07:35 +01:00
parent abd30dfde7
commit 9c7ee751d5

View File

@ -290,6 +290,11 @@ QtObject {
property Component sidebar_category: Component {
ButtonStyle {
background: Rectangle {
anchors.fill: parent;
anchors.left: parent.left
anchors.leftMargin: UM.Theme.sizes.default_margin.width
anchors.right: parent.right
anchors.rightMargin: UM.Theme.sizes.default_margin.width
implicitHeight: UM.Theme.sizes.section.height;
color: {
if(control.color) {