1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-09 23:32:10 -04:00

i18n: general RTL fixes

This commit is contained in:
bbedward
2026-02-12 11:58:32 -05:00
parent 96b9d7aab3
commit ba5bf0cabc
12 changed files with 161 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Controls
import qs.Common
import qs.Services
import qs.Widgets
@@ -9,6 +8,9 @@ import qs.Widgets
Rectangle {
id: root
LayoutMirroring.enabled: I18n.isRtl
LayoutMirroring.childrenInherit: true
required property var deviceNode
property string deviceType: "output"
@@ -51,6 +53,7 @@ Rectangle {
color: Theme.surfaceText
width: parent.width
elide: Text.ElideRight
horizontalAlignment: Text.AlignLeft
}
Column {
@@ -68,6 +71,7 @@ Rectangle {
width: parent.width - (customAliasLabel.visible ? customAliasLabel.width + Theme.spacingS : 0)
elide: Text.ElideRight
anchors.verticalCenter: parent.verticalCenter
horizontalAlignment: Text.AlignLeft
}
Rectangle {
@@ -98,6 +102,7 @@ Rectangle {
width: parent.width
elide: Text.ElideRight
opacity: 0.6
horizontalAlignment: Text.AlignLeft
}
}
}