mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-27 06:52:50 -05:00
fix wrapping text
This commit is contained in:
@@ -391,6 +391,7 @@ Item {
|
|||||||
font.pixelSize: Theme.fontSizeLarge
|
font.pixelSize: Theme.fontSizeLarge
|
||||||
color: Theme.surfaceText
|
color: Theme.surfaceText
|
||||||
elide: Text.ElideMiddle
|
elide: Text.ElideMiddle
|
||||||
|
maximumLineCount: 1
|
||||||
width: parent.width
|
width: parent.width
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -399,6 +400,7 @@ Item {
|
|||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
color: Theme.surfaceVariantText
|
color: Theme.surfaceVariantText
|
||||||
elide: Text.ElideMiddle
|
elide: Text.ElideMiddle
|
||||||
|
maximumLineCount: 1
|
||||||
width: parent.width
|
width: parent.width
|
||||||
visible: SessionData.wallpaperPath !== ""
|
visible: SessionData.wallpaperPath !== ""
|
||||||
}
|
}
|
||||||
@@ -524,7 +526,8 @@ Item {
|
|||||||
text: "Automatically cycle through wallpapers in the same folder"
|
text: "Automatically cycle through wallpapers in the same folder"
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
color: Theme.surfaceVariantText
|
color: Theme.surfaceVariantText
|
||||||
wrapMode: Text.WordWrap
|
elide: Text.ElideRight
|
||||||
|
maximumLineCount: 1
|
||||||
width: parent.width
|
width: parent.width
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user