1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-10 07:25:37 -05:00

small fix: update popout column space (#441)

This commit is contained in:
max72bra
2025-10-15 14:16:05 +02:00
committed by GitHub
parent 8cbfaab807
commit 38c1f7bbcb

View File

@@ -220,7 +220,7 @@ DankPopout {
Column { Column {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
width: parent.width - 24 - Theme.spacingM width: parent.width - Theme.spacingM
spacing: 2 spacing: 2
StyledText { StyledText {
@@ -262,14 +262,14 @@ DankPopout {
width: parent.width width: parent.width
height: 48 height: 48
spacing: Theme.spacingM spacing: Theme.spacingM
Rectangle { Rectangle {
width: (parent.width - Theme.spacingM) / 2 width: (parent.width - Theme.spacingM) / 2
height: parent.height height: parent.height
radius: Theme.cornerRadius radius: Theme.cornerRadius
color: updateMouseArea.containsMouse ? Theme.primaryHover : Theme.secondaryHover color: updateMouseArea.containsMouse ? Theme.primaryHover : Theme.secondaryHover
opacity: SystemUpdateService.updateCount > 0 ? 1.0 : 0.5 opacity: SystemUpdateService.updateCount > 0 ? 1.0 : 0.5
Behavior on color { Behavior on color {
ColorAnimation { duration: Theme.shortDuration } ColorAnimation { duration: Theme.shortDuration }
} }
@@ -306,14 +306,14 @@ DankPopout {
} }
} }
} }
Rectangle { Rectangle {
width: (parent.width - Theme.spacingM) / 2 width: (parent.width - Theme.spacingM) / 2
height: parent.height height: parent.height
radius: Theme.cornerRadius radius: Theme.cornerRadius
color: closeMouseArea.containsMouse ? Theme.errorPressed : Theme.secondaryHover color: closeMouseArea.containsMouse ? Theme.errorPressed : Theme.secondaryHover
Behavior on color { Behavior on color {
ColorAnimation { duration: Theme.shortDuration } ColorAnimation { duration: Theme.shortDuration }
} }
@@ -353,4 +353,4 @@ DankPopout {
} }
} }
} }