mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 03:55:55 +08:00
Fix one more fractional pixel offset affecting text placement
This commit is contained in:
parent
29729d2a23
commit
f9ca353f6a
@ -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