1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-11 08:12:09 -04:00

i18n: more RTL repairs

This commit is contained in:
bbedward
2026-01-08 18:45:38 -05:00
parent 1ff1f3a7f2
commit eece811fb0
9 changed files with 51 additions and 5 deletions

View File

@@ -105,7 +105,7 @@ StyledRect {
anchors.bottomMargin: root.bottomPadding
font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceText
horizontalAlignment: I18n.isRtl ? TextInput.AlignRight : TextInput.AlignLeft
horizontalAlignment: TextInput.AlignLeft
verticalAlignment: TextInput.AlignVCenter
selectByMouse: !root.ignoreLeftRightKeys
clip: true
@@ -189,7 +189,7 @@ StyledRect {
text: root.placeholderText
font: textInput.font
color: placeholderColor
horizontalAlignment: textInput.horizontalAlignment
horizontalAlignment: Text.AlignLeft
verticalAlignment: textInput.verticalAlignment
visible: textInput.text.length === 0 && !textInput.activeFocus
elide: I18n.isRtl ? Text.ElideLeft : Text.ElideRight