formatting

This commit is contained in:
quadbyte 2025-08-11 08:40:55 -04:00
parent a72afcafbb
commit 4fd9779941
5 changed files with 17 additions and 14 deletions

View file

@ -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;

View file

@ -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

View file

@ -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

View file

@ -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
@ -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

View file

@ -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