diff --git a/quickshell/Modules/Settings/AboutTab.qml b/quickshell/Modules/Settings/AboutTab.qml index b4e26b83..1800f2f1 100644 --- a/quickshell/Modules/Settings/AboutTab.qml +++ b/quickshell/Modules/Settings/AboutTab.qml @@ -7,6 +7,9 @@ import qs.Widgets Item { id: aboutTab + LayoutMirroring.enabled: I18n.isRtl + LayoutMirroring.childrenInherit: true + property bool isHyprland: CompositorService.isHyprland property bool isNiri: CompositorService.isNiri property bool isSway: CompositorService.isSway @@ -255,7 +258,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter spacing: Theme.spacingS - property bool compactMode: parent.width < 400 + property bool compactMode: parent.width < 450 DankButton { id: docsButton @@ -628,6 +631,7 @@ Item { } Row { + anchors.left: parent.left spacing: Theme.spacingL Column { @@ -637,6 +641,7 @@ Item { text: I18n.tr("Version") font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceVariantText + horizontalAlignment: Text.AlignLeft } StyledText { @@ -644,6 +649,7 @@ Item { font.pixelSize: Theme.fontSizeMedium font.weight: Font.Medium color: Theme.surfaceText + horizontalAlignment: Text.AlignLeft } } @@ -660,6 +666,7 @@ Item { text: I18n.tr("API") font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceVariantText + horizontalAlignment: Text.AlignLeft } StyledText { @@ -667,6 +674,7 @@ Item { font.pixelSize: Theme.fontSizeMedium font.weight: Font.Medium color: Theme.surfaceText + horizontalAlignment: Text.AlignLeft } } @@ -683,6 +691,7 @@ Item { text: I18n.tr("Status") font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceVariantText + horizontalAlignment: Text.AlignLeft } Row { @@ -701,6 +710,7 @@ Item { font.pixelSize: Theme.fontSizeMedium font.weight: Font.Medium color: Theme.surfaceText + horizontalAlignment: Text.AlignLeft } } } @@ -715,6 +725,8 @@ Item { text: I18n.tr("Capabilities") font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceVariantText + width: parent.width + horizontalAlignment: Text.AlignLeft } Flow { @@ -780,6 +792,7 @@ Item { } Row { + anchors.left: parent.left spacing: Theme.spacingS DankButton { diff --git a/quickshell/Modules/Settings/DankBarTab.qml b/quickshell/Modules/Settings/DankBarTab.qml index 0e8fe205..54bb0081 100644 --- a/quickshell/Modules/Settings/DankBarTab.qml +++ b/quickshell/Modules/Settings/DankBarTab.qml @@ -9,6 +9,9 @@ import qs.Modules.Settings.Widgets Item { id: dankBarTab + LayoutMirroring.enabled: I18n.isRtl + LayoutMirroring.childrenInherit: true + property var parentModal: null property string selectedBarId: "default" @@ -366,9 +369,12 @@ Item { font.pixelSize: Theme.fontSizeMedium font.weight: Font.Medium color: Theme.surfaceText + width: parent.width + horizontalAlignment: Text.AlignLeft } Row { + width: parent.width spacing: Theme.spacingS StyledText { @@ -390,12 +396,14 @@ Item { } font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceVariantText + horizontalAlignment: Text.AlignLeft } StyledText { text: "•" font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceVariantText + horizontalAlignment: Text.AlignLeft } StyledText { @@ -409,12 +417,14 @@ Item { } font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceVariantText + horizontalAlignment: Text.AlignLeft } StyledText { text: "•" font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceVariantText + horizontalAlignment: Text.AlignLeft } StyledText { @@ -428,12 +438,14 @@ Item { } font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceVariantText + horizontalAlignment: Text.AlignLeft } StyledText { text: "•" font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceVariantText + horizontalAlignment: Text.AlignLeft visible: { SettingsData.barConfigs; const cfg = SettingsData.getBarConfig(barCard.modelData.id); @@ -445,6 +457,7 @@ Item { text: I18n.tr("Disabled") font.pixelSize: Theme.fontSizeSmall color: Theme.error + horizontalAlignment: Text.AlignLeft visible: { SettingsData.barConfigs; const cfg = SettingsData.getBarConfig(barCard.modelData.id); @@ -520,6 +533,7 @@ Item { font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceVariantText wrapMode: Text.WordWrap + horizontalAlignment: Text.AlignLeft } Column { @@ -1126,7 +1140,9 @@ Item { text: I18n.tr("Color") font.pixelSize: Theme.fontSizeMedium color: Theme.surfaceText - x: Theme.spacingM + horizontalAlignment: Text.AlignLeft + anchors.left: parent.left + anchors.leftMargin: Theme.spacingM } Item { diff --git a/quickshell/Modules/Settings/Widgets/SettingsSliderCard.qml b/quickshell/Modules/Settings/Widgets/SettingsSliderCard.qml index d6203110..87ca48fd 100644 --- a/quickshell/Modules/Settings/Widgets/SettingsSliderCard.qml +++ b/quickshell/Modules/Settings/Widgets/SettingsSliderCard.qml @@ -61,6 +61,8 @@ StyledRect { font.pixelSize: Theme.fontSizeLarge font.weight: Font.Medium color: Theme.surfaceText + width: parent.width + horizontalAlignment: Text.AlignLeft visible: root.title !== "" }