mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 17:49:27 +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 {
|
||||||
text: current_page
|
text: current_page
|
||||||
color: "white"
|
color: "white"
|
||||||
font.pointSize: 18
|
font.pixelSize: 26
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
|
@ -20,7 +20,7 @@ Item {
|
||||||
height: parent.height;
|
height: parent.height;
|
||||||
text: settingText;
|
text: settingText;
|
||||||
color: "white";
|
color: "white";
|
||||||
font.pointSize: 14;
|
font.pixelSize: 22;
|
||||||
selectByMouse: true;
|
selectByMouse: true;
|
||||||
readOnly: true;
|
readOnly: true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ Item {
|
||||||
height: parent.height;
|
height: parent.height;
|
||||||
text: settingText;
|
text: settingText;
|
||||||
color: "white";
|
color: "white";
|
||||||
font.pointSize: 14;
|
font.pixelSize: 22;
|
||||||
selectByMouse: true;
|
selectByMouse: true;
|
||||||
readOnly: true;
|
readOnly: true;
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ Item {
|
||||||
horizontalAlignment: Text.AlignHCenter;
|
horizontalAlignment: Text.AlignHCenter;
|
||||||
verticalAlignment: Text.AlignVCenter;
|
verticalAlignment: Text.AlignVCenter;
|
||||||
elide: Text.ElideRight;
|
elide: Text.ElideRight;
|
||||||
font.pointSize: 14;
|
font.pixelSize: 22;
|
||||||
color: "white";
|
color: "white";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ Item {
|
||||||
height: parent.height;
|
height: parent.height;
|
||||||
text: settingText;
|
text: settingText;
|
||||||
color: "white";
|
color: "white";
|
||||||
font.pointSize: 14;
|
font.pixelSize: 22;
|
||||||
width: parent.width - 200;
|
width: parent.width - 200;
|
||||||
selectByMouse: true;
|
selectByMouse: true;
|
||||||
readOnly: true;
|
readOnly: true;
|
||||||
|
@ -58,7 +58,7 @@ Item {
|
||||||
horizontalAlignment: TextInput.AlignHCenter
|
horizontalAlignment: TextInput.AlignHCenter
|
||||||
width: parent.width;
|
width: parent.width;
|
||||||
clip: true;
|
clip: true;
|
||||||
font.pointSize: 14
|
font.pixelSize: 22
|
||||||
validator: RegExpValidator { regExp: /[0-9]*/ }
|
validator: RegExpValidator { regExp: /[0-9]*/ }
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
|
@ -97,7 +97,7 @@ Item {
|
||||||
Text {
|
Text {
|
||||||
text: "+";
|
text: "+";
|
||||||
color: "white";
|
color: "white";
|
||||||
font.pointSize: 20;
|
font.pixelSize: 28;
|
||||||
verticalAlignment: Qt.AlignVCenter
|
verticalAlignment: Qt.AlignVCenter
|
||||||
anchors.horizontalCenter: parent.horizontalCenter;
|
anchors.horizontalCenter: parent.horizontalCenter;
|
||||||
anchors.verticalCenter: parent.verticalCenter;
|
anchors.verticalCenter: parent.verticalCenter;
|
||||||
|
@ -124,7 +124,7 @@ Item {
|
||||||
Text {
|
Text {
|
||||||
text: "-";
|
text: "-";
|
||||||
color: "white";
|
color: "white";
|
||||||
font.pointSize: 20;
|
font.pixelSize: 28;
|
||||||
anchors.horizontalCenter: parent.horizontalCenter;
|
anchors.horizontalCenter: parent.horizontalCenter;
|
||||||
anchors.verticalCenter: parent.verticalCenter;
|
anchors.verticalCenter: parent.verticalCenter;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ Item {
|
||||||
height: parent.height;
|
height: parent.height;
|
||||||
text: settingText;
|
text: settingText;
|
||||||
color: "white";
|
color: "white";
|
||||||
font.pointSize: 14;
|
font.pixelSize: 22;
|
||||||
Layout.fillWidth: true;
|
Layout.fillWidth: true;
|
||||||
selectByMouse: true;
|
selectByMouse: true;
|
||||||
readOnly: true;
|
readOnly: true;
|
||||||
|
@ -49,7 +49,7 @@ Item {
|
||||||
height: parent.height;
|
height: parent.height;
|
||||||
verticalAlignment: Qt.AlignVCenter
|
verticalAlignment: Qt.AlignVCenter
|
||||||
width: 25;
|
width: 25;
|
||||||
font.pointSize: 14;
|
font.pixelSize: 22;
|
||||||
}
|
}
|
||||||
|
|
||||||
Slider {
|
Slider {
|
||||||
|
|
|
@ -21,7 +21,7 @@ Item {
|
||||||
Text {
|
Text {
|
||||||
text: page_name;
|
text: page_name;
|
||||||
color: "white";
|
color: "white";
|
||||||
font.pointSize: 16;
|
font.pixelSize: 24;
|
||||||
anchors.verticalCenter: parent.verticalCenter;
|
anchors.verticalCenter: parent.verticalCenter;
|
||||||
x: 45;
|
x: 45;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue