fixes and stuff

This commit is contained in:
lucy 2026-02-03 13:18:32 +01:00
parent 8f32cb2507
commit 34fde2496a
2 changed files with 6 additions and 2 deletions

View File

@ -77,7 +77,6 @@ Loader {
id: batText id: batText
Layout.topMargin: 2 Layout.topMargin: 2
anchors.verticalCenter: parent.verticalCenter
text: Math.round(UPower.displayDevice.percentage * 100) + "%" text: Math.round(UPower.displayDevice.percentage * 100) + "%"
} }
CustomIcon { CustomIcon {
@ -87,7 +86,6 @@ Loader {
text: root.getBatteryIcon() text: root.getBatteryIcon()
} }
Item { Item {
anchors.verticalCenter: parent.verticalCenter
implicitWidth: 12 implicitWidth: 12
implicitHeight: 12 implicitHeight: 12

View File

@ -8,6 +8,12 @@ import Quickshell.Widgets
Rectangle { Rectangle {
id: notifyItem id: notifyItem
Behavior on implicitWidth {
NumberAnimation {
duration: 100
easing: Easing.OutBack
}
}
required property var modelData required property var modelData
implicitWidth: ListView.view ? ListView.view.width : 300 implicitWidth: ListView.view ? ListView.view.width : 300
implicitHeight: fullLayout.implicitHeight + 20 implicitHeight: fullLayout.implicitHeight + 20