mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 10:25:57 +08:00
Tweak category header icon positioning
This commit is contained in:
parent
2aa3fa3623
commit
01b04a284e
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user