mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Align horizontal position of label to pixels
Contributes to issue CURA-8556.
This commit is contained in:
parent
f14a512718
commit
2d434a02e3
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ ScrollView
|
||||||
{
|
{
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: (parent.height - height) / 2
|
anchors.leftMargin: Math.round((parent.height - height) / 2)
|
||||||
|
|
||||||
text: model.package.displayName
|
text: model.package.displayName
|
||||||
font: UM.Theme.getFont("medium_bold")
|
font: UM.Theme.getFont("medium_bold")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue