limit mpris label width to prevent overflow
This commit is contained in:
parent
87be2c720a
commit
0eaba947f4
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ M.BarSection {
|
||||||
M.BarLabel {
|
M.BarLabel {
|
||||||
label: root.player?.trackTitle || root.player?.identity || ""
|
label: root.player?.trackTitle || root.player?.identity || ""
|
||||||
color: M.Theme.base0E
|
color: M.Theme.base0E
|
||||||
|
elide: Text.ElideRight
|
||||||
|
width: Math.min(implicitWidth, 200)
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue