Tweak category header icon positioning

This commit is contained in:
fieldOfView 2015-12-16 15:12:54 +01:00
parent 2aa3fa3623
commit 01b04a284e

View file

@ -331,7 +331,8 @@ QtObject {
width: UM.Theme.sizes.section_icon_column.width width: UM.Theme.sizes.section_icon_column.width
UM.RecolorImage { UM.RecolorImage {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter anchors.left: parent.left
anchors.leftMargin: UM.Theme.sizes.default_margin.width
color: UM.Theme.colors.setting_category_text color: UM.Theme.colors.setting_category_text
source: control.iconSource; source: control.iconSource;
width: UM.Theme.sizes.section_icon.width; width: UM.Theme.sizes.section_icon.width;
@ -344,6 +345,7 @@ QtObject {
Label { Label {
anchors { anchors {
left: icon.right; left: icon.right;
leftMargin: UM.Theme.sizes.default_lining.width;
right: parent.right; right: parent.right;
verticalCenter: parent.verticalCenter; verticalCenter: parent.verticalCenter;
} }