1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 23:42:51 -05:00

i18n: fix RTL alignment of settings sidebar

This commit is contained in:
bbedward
2025-12-27 12:51:10 -05:00
parent 7523190b16
commit e7f94c94cc

View File

@@ -666,6 +666,7 @@ Rectangle {
color: root.searchSelectedIndex === resultDelegate.index ? Theme.primaryText : Theme.surfaceText color: root.searchSelectedIndex === resultDelegate.index ? Theme.primaryText : Theme.surfaceText
width: parent.width width: parent.width
wrapMode: Text.Wrap wrapMode: Text.Wrap
horizontalAlignment: Text.AlignLeft
} }
StyledText { StyledText {
@@ -674,6 +675,7 @@ Rectangle {
color: root.searchSelectedIndex === resultDelegate.index ? Theme.withAlpha(Theme.primaryText, 0.7) : Theme.surfaceVariantText color: root.searchSelectedIndex === resultDelegate.index ? Theme.withAlpha(Theme.primaryText, 0.7) : Theme.surfaceVariantText
width: parent.width width: parent.width
wrapMode: Text.Wrap wrapMode: Text.Wrap
horizontalAlignment: Text.AlignLeft
} }
} }
} }
@@ -782,6 +784,7 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
width: parent.width - Theme.iconSize - Theme.spacingM - (categoryDelegate.modelData.children ? expandIcon.width + Theme.spacingS : 0) width: parent.width - Theme.iconSize - Theme.spacingM - (categoryDelegate.modelData.children ? expandIcon.width + Theme.spacingS : 0)
elide: Text.ElideRight elide: Text.ElideRight
horizontalAlignment: Text.AlignLeft
} }
DankIcon { DankIcon {