diff --git a/Modules/Launcher/Launcher.qml b/Modules/Launcher/Launcher.qml index 99d79cb..6b5f4e0 100644 --- a/Modules/Launcher/Launcher.qml +++ b/Modules/Launcher/Launcher.qml @@ -275,7 +275,7 @@ NPanel { } // Defer selectedIndex reset to avoid binding loops Qt.callLater(() => selectedIndex = 0) - + // Reset cursor position if needed if (shouldResetCursor && text === "") { cursorPosition = 0 diff --git a/Modules/SettingsPanel/Tabs/DisplayTab.qml b/Modules/SettingsPanel/Tabs/DisplayTab.qml index 21a50d4..406fd3c 100644 --- a/Modules/SettingsPanel/Tabs/DisplayTab.qml +++ b/Modules/SettingsPanel/Tabs/DisplayTab.qml @@ -27,7 +27,7 @@ Item { }) } - ScrollView { + ScrollView { anchors.fill: parent clip: true ScrollBar.vertical.policy: ScrollBar.AsNeeded @@ -37,7 +37,7 @@ Item { ColumnLayout { id: contentColumn width: Math.max(parent.width, 300) // Minimum reasonable width without scaling - + ColumnLayout { spacing: Style.marginL * scaling Layout.margins: Style.marginL * scaling @@ -147,12 +147,12 @@ Item { RowLayout { Layout.fillWidth: true - + ColumnLayout { spacing: Style.marginXXS * scaling Layout.fillWidth: true Layout.minimumWidth: 0 - + NText { text: "Scale" font.pointSize: Style.fontSizeM * scaling @@ -167,7 +167,7 @@ Item { Layout.fillWidth: true } } - + NText { text: `${Math.round(ScalingService.scaleByName(modelData.name) * 100)}%` Layout.alignment: Qt.AlignVCenter @@ -179,7 +179,7 @@ Item { spacing: Style.marginS * scaling Layout.fillWidth: true Layout.minimumWidth: 0 - + NSlider { id: scaleSlider from: 0.6 @@ -219,4 +219,4 @@ Item { } } } -} \ No newline at end of file +} diff --git a/Services/BarWidgetRegistry.qml b/Services/BarWidgetRegistry.qml index 62ea73c..a7a2e0f 100644 --- a/Services/BarWidgetRegistry.qml +++ b/Services/BarWidgetRegistry.qml @@ -10,8 +10,8 @@ Singleton { // Widget registry object mapping widget names to components property var widgets: ({ "ActiveWindow": activeWindowComponent, - // "ArchUpdater": archUpdaterComponent, - "Battery": batteryComponent, + "Battery"// "ArchUpdater": archUpdaterComponent, + : batteryComponent, "Bluetooth": bluetoothComponent, "Brightness": brightnessComponent, "Clock": clockComponent,