mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
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:
@@ -30,10 +30,10 @@ ColumnLayout {
|
||||
|
||||
Text {
|
||||
text: "Wi-Fi"
|
||||
font.pixelSize: 18 * Theme.uiScale
|
||||
font.pixelSize: 18 * Theme.scale(Screen)
|
||||
font.bold: true
|
||||
color: Theme.textPrimary
|
||||
Layout.bottomMargin: 16 * Theme.uiScale
|
||||
Layout.bottomMargin: 16 * Theme.scale(Screen)
|
||||
}
|
||||
|
||||
ToggleOption {
|
||||
@@ -58,10 +58,10 @@ ColumnLayout {
|
||||
|
||||
Text {
|
||||
text: "Bluetooth"
|
||||
font.pixelSize: 18 * Theme.uiScale
|
||||
font.pixelSize: 18 * Theme.scale(Screen)
|
||||
font.bold: true
|
||||
color: Theme.textPrimary
|
||||
Layout.bottomMargin: 16 * Theme.uiScale
|
||||
Layout.bottomMargin: 16 * Theme.scale(Screen)
|
||||
}
|
||||
|
||||
ToggleOption {
|
||||
|
||||
Reference in New Issue
Block a user