diff --git a/Modules/Audio/AudioDeviceSelector.qml b/Modules/Audio/AudioDeviceSelector.qml index ded1457..d8253c2 100644 --- a/Modules/Audio/AudioDeviceSelector.qml +++ b/Modules/Audio/AudioDeviceSelector.qml @@ -38,8 +38,7 @@ NLoader { } } } -} // NPanel {// id: ioSelector// property int tabIndex: 0// property Item anchorItem: null// signal panelClosed()// function sinkNodes() {// let nodes = Pipewire.nodes && Pipewire.nodes.values ? Pipewire.nodes.values.filter(function(n) {// return n.isSink && n.audio && n.isStream === false;// }) : [];// if (Pipewire.defaultAudioSink)// nodes = nodes.slice().sort(function(a, b) {// if (a.id === Pipewire.defaultAudioSink.id) -// return -1; +} // NPanel {// id: ioSelector// property int tabIndex: 0// property Item anchorItem: null// signal panelClosed()// function sinkNodes() {// let nodes = Pipewire.nodes && Pipewire.nodes.values ? Pipewire.nodes.values.filter(function(n) {// return n.isSink && n.audio && n.isStream === false;// }) : [];// if (Pipewire.defaultAudioSink)// nodes = nodes.slice().sort(function(a, b) {// if (a.id === Pipewire.defaultAudioSink.id)// return -1; // if (b.id === Pipewire.defaultAudioSink.id) // return 1; diff --git a/Modules/Background/Background.qml b/Modules/Background/Background.qml index 5993f04..e6216df 100644 --- a/Modules/Background/Background.qml +++ b/Modules/Background/Background.qml @@ -9,8 +9,8 @@ Variants { delegate: PanelWindow { required property ShellScreen modelData property string wallpaperSource: Qt.resolvedUrl("../../Assets/Tests/wallpaper.png") - //property string wallpaperSource: Qt.resolvedUrl("/home/lysec/Pictures/wallpapers/wallhaven-6lqvql.jpg") + //property string wallpaperSource: Qt.resolvedUrl("/home/lysec/Pictures/wallpapers/wallhaven-6lqvql.jpg") visible: wallpaperSource !== "" color: "transparent" screen: modelData diff --git a/Modules/Bar/TrayMenu.qml b/Modules/Bar/TrayMenu.qml index 4e3637f..953f075 100644 --- a/Modules/Bar/TrayMenu.qml +++ b/Modules/Bar/TrayMenu.qml @@ -98,8 +98,7 @@ PopupWindow { required property var modelData width: listView.width - height: (modelData?.isSeparator) ? 8 * scaling : Math.max(32 * scaling, - text.height + 8) + height: (modelData?.isSeparator) ? 8 * scaling : Math.max(32 * scaling, text.height + 8) color: "transparent" property var subMenu: null @@ -334,8 +333,7 @@ PopupWindow { required property var modelData width: listView.width - height: (modelData?.isSeparator) ? 8 * scaling : Math.max(32 * scaling, - subText.height + 8) + height: (modelData?.isSeparator) ? 8 * scaling : Math.max(32 * scaling, subText.height + 8) color: "transparent" property var subMenu: null diff --git a/Modules/Calendar/Calendar.qml b/Modules/Calendar/Calendar.qml index 22e7d6c..ad05d47 100644 --- a/Modules/Calendar/Calendar.qml +++ b/Modules/Calendar/Calendar.qml @@ -21,7 +21,7 @@ NLoader { border.color: Colors.backgroundTertiary border.width: Math.max(1, Style.borderMedium * scaling) width: 340 * scaling - height: 320 * scaling // Reduced height to eliminate bottom space + height: 320 * scaling // Reduced height to eliminate bottom space anchors.top: parent.top anchors.right: parent.right anchors.topMargin: Style.marginTiny * scaling @@ -89,7 +89,7 @@ NLoader { Repeater { model: 7 - + NText { text: { // Use the locale's first day of week setting @@ -112,7 +112,7 @@ NLoader { id: grid Layout.fillWidth: true - Layout.fillHeight: true // Take remaining space + Layout.fillHeight: true // Take remaining space Layout.leftMargin: Style.marginSmall * scaling Layout.rightMargin: Style.marginSmall * scaling spacing: 0 @@ -157,4 +157,4 @@ NLoader { } } } -} \ No newline at end of file +} diff --git a/Modules/Notification/Notification.qml b/Modules/Notification/Notification.qml index 53f4222..11bfa0f 100644 --- a/Modules/Notification/Notification.qml +++ b/Modules/Notification/Notification.qml @@ -66,9 +66,15 @@ PanelWindow { border.color: Colors.accentPrimary border.width: Math.max(1, Style.borderThin * scaling) gradient: Gradient { - GradientStop { position: 0.0; color: Colors.backgroundTertiary } - GradientStop { position: 1.0; color: Colors.backgroundSecondary } - } + GradientStop { + position: 0.0 + color: Colors.backgroundTertiary + } + GradientStop { + position: 1.0 + color: Colors.backgroundSecondary + } + } // Animation properties property real scaleValue: 0.8