mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-03 20:35:10 +08:00
Fix one more fractional pixel offset affecting text placement
This commit is contained in:
parent
464cf139a8
commit
d4e83ceba8
@ -152,7 +152,7 @@ Rectangle
|
|||||||
Button {
|
Button {
|
||||||
height: settingsModeSelection.height
|
height: settingsModeSelection.height
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: model.index * (settingsModeSelection.width / 2)
|
anchors.leftMargin: model.index * Math.floor(settingsModeSelection.width / 2)
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
width: Math.floor(0.5 * parent.width)
|
width: Math.floor(0.5 * parent.width)
|
||||||
text: model.text
|
text: model.text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user