mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:39:03 +08: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
@ -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…
x
Reference in New Issue
Block a user