Update: Refactored how scaling works across different resolutions.

This commit is contained in:
Keyitdev
2026-07-11 01:11:47 +02:00
parent 60a73a22ef
commit 57f0ae7221
8 changed files with 77 additions and 55 deletions
+4 -4
View File
@@ -20,7 +20,7 @@ Item {
ComboBox {
id: selectSession
height: root.font.pointSize
height: rootHeightUnit
anchors.horizontalCenter: parent.horizontalCenter
hoverEnabled: true
@@ -44,7 +44,7 @@ Item {
horizontalAlignment: Text.AlignHCenter
text: model.name
font.pointSize: root.font.pointSize * 0.8
font.pointSize: rootFontSize
font.family: root.font.family
color: config.DropdownTextColor
}
@@ -65,7 +65,7 @@ Item {
text: (config.TranslateSessionSelection || "Session") + " (" + selectSession.currentText + ")"
color: config.SessionButtonTextColor
font.pointSize: root.font.pointSize * 0.8
font.pointSize: rootFontSize * 0.8
font.family: root.font.family
Keys.onReleased: parent.popup.open()
@@ -83,7 +83,7 @@ Item {
implicitHeight: contentItem.implicitHeight
width: sessionButton.width
y: parent.height - 1
y: parent.height + rootHeightUnit
x: -popupHandler.width/2 + displayedItem.width/2
padding: 10