mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 11:28:58 +08:00
Fix quality layer label alignment
CURA-6598
This commit is contained in:
parent
423b4ad869
commit
13011e375b
@ -53,6 +53,10 @@ Item
|
|||||||
right: index + 1 === repeater.count ? parent.right: undefined
|
right: index + 1 === repeater.count ? parent.right: undefined
|
||||||
left: index + 1 === repeater.count || index === 0 ? undefined: parent.left
|
left: index + 1 === repeater.count || index === 0 ? undefined: parent.left
|
||||||
leftMargin: Math.round((itemSize - contentWidth) * 0.5)
|
leftMargin: Math.round((itemSize - contentWidth) * 0.5)
|
||||||
|
|
||||||
|
// For some reason, the last label in the row gets misaligned with Qt 5.10. This lines seems to
|
||||||
|
// fix it.
|
||||||
|
verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user