formatting
This commit is contained in:
parent
a72afcafbb
commit
4fd9779941
5 changed files with 17 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue