quickshell: revert opacity, remove dropdown top margin
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
93ae3f1e33
commit
b3a376cbb3
1 changed files with 15 additions and 15 deletions
|
|
@ -1320,7 +1320,7 @@ in
|
||||||
alignRight: true
|
alignRight: true
|
||||||
property var trayItem: null
|
property var trayItem: null
|
||||||
fullWidth: ctxWrap.width + 8
|
fullWidth: ctxWrap.width + 8
|
||||||
fullHeight: ctxWrap.height + 10
|
fullHeight: ctxWrap.height + 4
|
||||||
|
|
||||||
onVisibleChanged: {
|
onVisibleChanged: {
|
||||||
if (!visible) menuOpener.menu = null;
|
if (!visible) menuOpener.menu = null;
|
||||||
|
|
@ -1334,8 +1334,8 @@ in
|
||||||
id: ctxWrap
|
id: ctxWrap
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 4
|
|
||||||
opacity: 0.95
|
|
||||||
width: menuItems.width + 16
|
width: menuItems.width + 16
|
||||||
height: menuItems.height + 12
|
height: menuItems.height + 12
|
||||||
radius: 10
|
radius: 10
|
||||||
|
|
@ -1411,15 +1411,15 @@ in
|
||||||
id: volDropdown
|
id: volDropdown
|
||||||
alignRight: true
|
alignRight: true
|
||||||
fullWidth: volWrap.width + 8
|
fullWidth: volWrap.width + 8
|
||||||
fullHeight: volWrap.height + 10
|
fullHeight: volWrap.height + 4
|
||||||
autoCloseMs: 3000
|
autoCloseMs: 3000
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: volWrap
|
id: volWrap
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 4
|
|
||||||
opacity: 0.95
|
|
||||||
width: volDropdownCol.width + 20
|
width: volDropdownCol.width + 20
|
||||||
height: volDropdownCol.height + 16
|
height: volDropdownCol.height + 16
|
||||||
radius: 10
|
radius: 10
|
||||||
|
|
@ -1615,14 +1615,14 @@ in
|
||||||
id: netDropdown
|
id: netDropdown
|
||||||
alignRight: true
|
alignRight: true
|
||||||
fullWidth: netWrap.width + 8
|
fullWidth: netWrap.width + 8
|
||||||
fullHeight: netWrap.height + 10
|
fullHeight: netWrap.height + 4
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: netWrap
|
id: netWrap
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 4
|
|
||||||
opacity: 0.95
|
|
||||||
width: netDropdownCol.width + 20
|
width: netDropdownCol.width + 20
|
||||||
height: netDropdownCol.height + 16
|
height: netDropdownCol.height + 16
|
||||||
radius: 10
|
radius: 10
|
||||||
|
|
@ -1769,14 +1769,14 @@ in
|
||||||
id: batteryDropdown
|
id: batteryDropdown
|
||||||
alignRight: true
|
alignRight: true
|
||||||
fullWidth: batWrap.width + 8
|
fullWidth: batWrap.width + 8
|
||||||
fullHeight: batWrap.height + 10
|
fullHeight: batWrap.height + 4
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: batWrap
|
id: batWrap
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 4
|
|
||||||
opacity: 0.95
|
|
||||||
width: batteryDropdownCol.width + 20
|
width: batteryDropdownCol.width + 20
|
||||||
height: batteryDropdownCol.height + 16
|
height: batteryDropdownCol.height + 16
|
||||||
radius: 10
|
radius: 10
|
||||||
|
|
@ -1898,13 +1898,13 @@ in
|
||||||
id: calPopup
|
id: calPopup
|
||||||
dropdownX: bar.width / 2
|
dropdownX: bar.width / 2
|
||||||
fullWidth: calCol.width + 8
|
fullWidth: calCol.width + 8
|
||||||
fullHeight: calCol.height + 10
|
fullHeight: calCol.height + 4
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
id: calCol
|
id: calCol
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 4
|
|
||||||
spacing: 8
|
spacing: 8
|
||||||
opacity: calPopup.open ? 1.0 : 0.0
|
opacity: calPopup.open ? 1.0 : 0.0
|
||||||
|
|
||||||
|
|
@ -1916,7 +1916,7 @@ in
|
||||||
width: 7 * 32 + 24
|
width: 7 * 32 + 24
|
||||||
height: calWrapCol.height + 16
|
height: calWrapCol.height + 16
|
||||||
radius: 10
|
radius: 10
|
||||||
opacity: 0.95
|
|
||||||
color: Theme.base01
|
color: Theme.base01
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue