From c4008e389975d8943fdb91b9ddbc58acd1eb4c78 Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Thu, 18 Sep 2025 18:25:15 -0400 Subject: [PATCH] CustomButtonSettings: Don't use Screen with a capital 'S' unless really necessary. --- .../Bar/WidgetSettings/CustomButtonSettings.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/SettingsPanel/Bar/WidgetSettings/CustomButtonSettings.qml b/Modules/SettingsPanel/Bar/WidgetSettings/CustomButtonSettings.qml index 371d8453..9ad83426 100644 --- a/Modules/SettingsPanel/Bar/WidgetSettings/CustomButtonSettings.qml +++ b/Modules/SettingsPanel/Bar/WidgetSettings/CustomButtonSettings.qml @@ -51,13 +51,13 @@ ColumnLayout { id: iconPicker modal: true width: { - var w = Math.round(Math.max(Screen.width * 0.35, 900) * scaling) - w = Math.min(w, Screen.width - Style.marginL * 2) + var w = Math.round(Math.max(screen.width * 0.35, 900) * scaling) + w = Math.min(w, screen.width - Style.marginL * 2) return w } height: { - var h = Math.round(Math.max(Screen.height * 0.65, 700) * scaling) - h = Math.min(h, Screen.height - Style.barHeight * scaling - Style.marginL * 2) + var h = Math.round(Math.max(screen.height * 0.65, 700) * scaling) + h = Math.min(h, screen.height - Style.barHeight * scaling - Style.marginL * 2) return h } anchors.centerIn: Overlay.overlay