forked from Shinonome/dots-hyprland
notifications: fix eliding when collapsed
This commit is contained in:
@@ -175,13 +175,14 @@ Item { // Notification item area
|
|||||||
StyledText {
|
StyledText {
|
||||||
opacity: !root.expanded ? 1 : 0
|
opacity: !root.expanded ? 1 : 0
|
||||||
visible: opacity > 0
|
visible: opacity > 0
|
||||||
|
Layout.fillWidth: true
|
||||||
Behavior on opacity {
|
Behavior on opacity {
|
||||||
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
||||||
}
|
}
|
||||||
Layout.fillWidth: true
|
|
||||||
font.pixelSize: root.fontSize
|
font.pixelSize: root.fontSize
|
||||||
color: Appearance.colors.colSubtext
|
color: Appearance.colors.colSubtext
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
wrapMode: Text.Wrap // Needed for proper eliding????
|
||||||
maximumLineCount: 1
|
maximumLineCount: 1
|
||||||
textFormat: Text.StyledText
|
textFormat: Text.StyledText
|
||||||
text: {
|
text: {
|
||||||
|
|||||||
Reference in New Issue
Block a user