mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-30 06:11:09 -07:00
Fix quality layer label alignment
CURA-6598
This commit is contained in:
parent
423b4ad869
commit
13011e375b
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue