Scaling: Replaced all Theme.uiScale by Theme.scale(Screen) so stuff scale accordingly to the Screen used by the Item/component

This commit is contained in:
quadbyte 2025-08-07 14:09:18 -04:00
parent 3148dc62a0
commit cb74b6e5d5
50 changed files with 564 additions and 568 deletions

View file

@ -48,7 +48,7 @@ Scope {
id: barBackground
width: parent.width
height: 36 * Theme.uiScale
height: 36 * Theme.scale(Screen)
color: Theme.backgroundPrimary
anchors.top: parent.top
anchors.left: parent.left
@ -59,8 +59,8 @@ Scope {
anchors.verticalCenter: barBackground.verticalCenter
anchors.left: barBackground.left
anchors.leftMargin: 18 * Theme.uiScale
spacing: 12 * Theme.uiScale
anchors.leftMargin: 18 * Theme.scale(Screen)
spacing: 12 * Theme.scale(Screen)
SystemInfo {
anchors.verticalCenter: parent.verticalCenter
@ -93,8 +93,8 @@ Scope {
anchors.verticalCenter: barBackground.verticalCenter
anchors.right: barBackground.right
anchors.rightMargin: 18 * Theme.uiScale
spacing: 12 * Theme.uiScale
anchors.rightMargin: 18 * Theme.scale(Screen)
spacing: 12 * Theme.scale(Screen)
SystemTray {
id: systemTrayModule