Replace font.pixelSize with DPI-aware font.pointSize

This also uses the same pointSize as eg the PreferencesPage.qml uses
This commit is contained in:
fieldOfView 2017-04-02 15:31:35 +02:00
parent 2e1dd46ea4
commit ed8954c1db
2 changed files with 11 additions and 4 deletions

View file

@ -74,7 +74,7 @@ UM.Dialog
{
id: titleLabel
text: catalog.i18nc("@action:title", "Summary - Cura Project")
font.pixelSize: 22
font.pointSize: 18
}
Rectangle
{
@ -97,7 +97,7 @@ UM.Dialog
{
text: catalog.i18nc("@action:label", "Printer settings")
font.bold: true
width: parent.width /3
width: parent.width / 3
}
Item
{

View file

@ -66,7 +66,7 @@ UM.Dialog
id: catalog
name: "cura"
}
SystemPalette
SystemPalette
{
id: palette
}
@ -79,7 +79,7 @@ UM.Dialog
{
id: titleLabel
text: catalog.i18nc("@action:title", "Summary - Cura Project")
font.pixelSize: 22
font.pointSize: 18
}
Rectangle
{
@ -233,6 +233,13 @@ UM.Dialog
width: parent.width / 3
}
}
Item // Spacer
{
height: spacerHeight
width: height
}
CheckBox
{
id: dontShowAgainCheckbox