1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 14:32:52 -05:00

i18n: WIP initial RTL support

- notifications
- color picker
- process list
- settings
- control center, dash
- launcher

part of #1059
This commit is contained in:
bbedward
2025-12-17 13:50:06 -05:00
parent 811e89fcfa
commit 523ccc6bf8
41 changed files with 5735 additions and 730 deletions

View File

@@ -100,6 +100,9 @@ DankPopout {
Rectangle {
id: notificationContent
LayoutMirroring.enabled: I18n.isRtl
LayoutMirroring.childrenInherit: true
property var externalKeyboardController: null
property real cachedHeaderHeight: 32

View File

@@ -343,6 +343,9 @@ PanelWindow {
anchors.margins: Theme.snap(4, win.dpr)
clip: true
LayoutMirroring.enabled: I18n.isRtl
LayoutMirroring.childrenInherit: true
Item {
id: notificationContent
@@ -428,6 +431,7 @@ PanelWindow {
font.pixelSize: Theme.fontSizeSmall
font.weight: Font.Medium
elide: Text.ElideRight
horizontalAlignment: Text.AlignLeft
maximumLineCount: 1
}
@@ -438,6 +442,7 @@ PanelWindow {
font.weight: Font.Medium
width: parent.width
elide: Text.ElideRight
horizontalAlignment: Text.AlignLeft
maximumLineCount: 1
visible: text.length > 0
}
@@ -448,6 +453,7 @@ PanelWindow {
font.pixelSize: Theme.fontSizeSmall
width: parent.width
elide: Text.ElideRight
horizontalAlignment: Text.AlignLeft
maximumLineCount: 2
wrapMode: Text.WordWrap
visible: text.length > 0