1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-15 07:35:20 -04:00

fix(settings): fix text truncation in some section of settings and update icons (#2618)

* fixed spacing issues

* added one missing icon and replaced two
This commit is contained in:
Youseffo13
2026-06-11 21:35:51 +02:00
committed by GitHub
parent 573785d4ce
commit 29e8470f2e
7 changed files with 19 additions and 5 deletions
@@ -330,7 +330,7 @@ FloatingWindow {
delegate: Rectangle {
width: widgetList.width
height: 60
height: Math.max(60, textColumn.implicitHeight + 24)
radius: Theme.cornerRadius
property bool isSelected: root.keyboardNavigationActive && index === root.selectedIndex
color: isSelected ? Theme.withAlpha(Theme.primary, root.blurActive ? 0.22 : 0.16) : widgetArea.containsMouse ? Theme.withAlpha(Theme.primary, root.blurActive ? 0.14 : 0.08) : Theme.withAlpha(Theme.surfaceVariant, root.rowAlpha)
@@ -351,9 +351,10 @@ FloatingWindow {
}
Column {
id: textColumn
anchors.verticalCenter: parent.verticalCenter
spacing: 2
width: parent.width - Theme.iconSize - Theme.spacingM * 3
width: parent.width - Theme.iconSize * 2 - Theme.spacingM * 4 + 4
StyledText {
text: modelData.text
@@ -362,6 +363,7 @@ FloatingWindow {
color: Theme.surfaceText
elide: Text.ElideRight
width: parent.width
wrapMode: Text.WordWrap
}
StyledText {