mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Fix one more fractional pixel offset affecting text placement
This commit is contained in:
parent
464cf139a8
commit
d4e83ceba8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue