Attempt fix text scaling with DPI.

This commit is contained in:
armored-dragon 2025-04-19 01:26:13 -05:00
parent 38832ab639
commit 69f38a9ebf
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B
6 changed files with 11 additions and 11 deletions

View file

@ -37,7 +37,7 @@ Item {
Text {
text: current_page
color: "white"
font.pointSize: 18
font.pixelSize: 26
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
horizontalAlignment: Text.AlignHCenter

View file

@ -20,7 +20,7 @@ Item {
height: parent.height;
text: settingText;
color: "white";
font.pointSize: 14;
font.pixelSize: 22;
selectByMouse: true;
readOnly: true;
}

View file

@ -26,7 +26,7 @@ Item {
height: parent.height;
text: settingText;
color: "white";
font.pointSize: 14;
font.pixelSize: 22;
selectByMouse: true;
readOnly: true;
}
@ -76,7 +76,7 @@ Item {
horizontalAlignment: Text.AlignHCenter;
verticalAlignment: Text.AlignVCenter;
elide: Text.ElideRight;
font.pointSize: 14;
font.pixelSize: 22;
color: "white";
}
}

View file

@ -29,7 +29,7 @@ Item {
height: parent.height;
text: settingText;
color: "white";
font.pointSize: 14;
font.pixelSize: 22;
width: parent.width - 200;
selectByMouse: true;
readOnly: true;
@ -58,7 +58,7 @@ Item {
horizontalAlignment: TextInput.AlignHCenter
width: parent.width;
clip: true;
font.pointSize: 14
font.pixelSize: 22
validator: RegExpValidator { regExp: /[0-9]*/ }
background: Rectangle {
@ -97,7 +97,7 @@ Item {
Text {
text: "+";
color: "white";
font.pointSize: 20;
font.pixelSize: 28;
verticalAlignment: Qt.AlignVCenter
anchors.horizontalCenter: parent.horizontalCenter;
anchors.verticalCenter: parent.verticalCenter;
@ -124,7 +124,7 @@ Item {
Text {
text: "-";
color: "white";
font.pointSize: 20;
font.pixelSize: 28;
anchors.horizontalCenter: parent.horizontalCenter;
anchors.verticalCenter: parent.verticalCenter;
}

View file

@ -29,7 +29,7 @@ Item {
height: parent.height;
text: settingText;
color: "white";
font.pointSize: 14;
font.pixelSize: 22;
Layout.fillWidth: true;
selectByMouse: true;
readOnly: true;
@ -49,7 +49,7 @@ Item {
height: parent.height;
verticalAlignment: Qt.AlignVCenter
width: 25;
font.pointSize: 14;
font.pixelSize: 22;
}
Slider {

View file

@ -21,7 +21,7 @@ Item {
Text {
text: page_name;
color: "white";
font.pointSize: 16;
font.pixelSize: 24;
anchors.verticalCenter: parent.verticalCenter;
x: 45;
}