mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-11 16:22:09 -04:00
i18n: more RTL repairs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user