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

View File

@@ -12,6 +12,9 @@ import "../Common/KeybindActions.js" as Actions
Item {
id: root
LayoutMirroring.enabled: I18n.isRtl
LayoutMirroring.childrenInherit: true
property var bindData: ({})
property bool isExpanded: false
property var panelWindow: null
@@ -325,6 +328,7 @@ Item {
color: Theme.surfaceText
elide: Text.ElideRight
Layout.fillWidth: true
horizontalAlignment: Text.AlignLeft
}
RowLayout {
@@ -453,6 +457,7 @@ Item {
font.weight: Font.Medium
color: Theme.primary
Layout.fillWidth: true
horizontalAlignment: Text.AlignLeft
}
}
@@ -771,6 +776,7 @@ Item {
color: Theme.primary
Layout.fillWidth: true
elide: Text.ElideRight
horizontalAlignment: Text.AlignLeft
}
}