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

View file

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