summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-13 17:21:05 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-13 17:21:05 +0800
commitbd99d23b8f56476b34a24372a707852b30af368a (patch)
tree68bc977e99ecd1d9055abe0bbf10b1fd80973ee5
parentb520eb490c7b99659bdb685995e5ad4a3507cbb3 (diff)
fix mpris height implicit height bs
-rw-r--r--bar/Mpris.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/bar/Mpris.qml b/bar/Mpris.qml
index 5abd2d4..8a784c8 100644
--- a/bar/Mpris.qml
+++ b/bar/Mpris.qml
@@ -47,6 +47,7 @@ Item {
}
implicitWidth: rect.width + 3 // +3 cause it look better somehow
+ implicitHeight: Bar.height
// TODO fancy animation progress bar etc.
Rectangle {
@@ -54,7 +55,7 @@ Item {
anchors.verticalCenter: parent.verticalCenter
// TODO: move to IRect
implicitWidth: text.width + General.rectMargin * 2
- implicitHeight: parent.height
+ implicitHeight: parent.height - General.rectMargin
color: Colors.alt
radius: Style.rounding.smaller
Text {