mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
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:
parent
2e1dd46ea4
commit
ed8954c1db
2 changed files with 11 additions and 4 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue