mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 15:59:49 +02:00
Attempt fix text scaling with DPI.
This commit is contained in:
parent
38832ab639
commit
69f38a9ebf
6 changed files with 11 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -20,7 +20,7 @@ Item {
|
|||
height: parent.height;
|
||||
text: settingText;
|
||||
color: "white";
|
||||
font.pointSize: 14;
|
||||
font.pixelSize: 22;
|
||||
selectByMouse: true;
|
||||
readOnly: true;
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -21,7 +21,7 @@ Item {
|
|||
Text {
|
||||
text: page_name;
|
||||
color: "white";
|
||||
font.pointSize: 16;
|
||||
font.pixelSize: 24;
|
||||
anchors.verticalCenter: parent.verticalCenter;
|
||||
x: 45;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue