Solve 'What's New' font troubles.

5-min fix.
This commit is contained in:
Remco Burema 2021-04-01 08:54:16 +02:00
parent 61bbc6a935
commit 92c3c0cdea
No known key found for this signature in database
GPG key ID: 215C49431D43F98C

View file

@ -93,8 +93,8 @@ Item
top: parent.top
topMargin: UM.Theme.getSize("default_margin").width
}
width: parent.width - (UM.Theme.getSize("default_margin").width * 2)
height: (parent.height - UM.Theme.getSize("default_margin").height) * 0.75
width: Math.round(parent.width - (UM.Theme.getSize("default_margin").width * 2))
height: Math.round((parent.height - UM.Theme.getSize("default_margin").height) * 0.75)
fillMode: Image.PreserveAspectFit
source: manager.getSubpageImageSource(index)
@ -110,7 +110,7 @@ Item
bottom: parent.bottom
horizontalCenter: parent.horizontalCenter
}
width: parent.width - (UM.Theme.getSize("default_margin").width * 2)
width: Math.round(parent.width - (UM.Theme.getSize("default_margin").width * 2))
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff