Fix RTL layout bugs

BUG: 461230
This commit is contained in:
Bart De Vries 2022-12-11 17:59:50 +01:00
parent 3898471f08
commit a07deae71d
5 changed files with 20 additions and 4 deletions

View File

@ -1,6 +1,6 @@
/** /**
* SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de> * SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de>
* SPDX-FileCopyrightText: 2021 Bart De Vries <bart@mogwai.be> * SPDX-FileCopyrightText: 2021-2022 Bart De Vries <bart@mogwai.be>
* *
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/ */
@ -17,6 +17,9 @@ Kirigami.ScrollablePage {
title: i18n("Episode List") title: i18n("Episode List")
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
LayoutMirroring.childrenInherit: true
supportsRefreshing: true supportsRefreshing: true
onRefreshingChanged: { onRefreshingChanged: {
if(refreshing) { if(refreshing) {

View File

@ -1,5 +1,6 @@
/** /**
* SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de> * SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de>
* SPDX-FileCopyrightText: 2021-2022 Bart De Vries <bart@mogwai.be>
* *
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/ */
@ -16,6 +17,9 @@ import org.kde.kasts 1.0
Kirigami.ScrollablePage { Kirigami.ScrollablePage {
id: page id: page
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
LayoutMirroring.childrenInherit: true
property QtObject feed; property QtObject feed;
property bool isSubscribed: true property bool isSubscribed: true

View File

@ -1,6 +1,6 @@
/** /**
* SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de> * SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de>
* SPDX-FileCopyrightText: 2021 Bart De Vries <bart@mogwai.be> * SPDX-FileCopyrightText: 2021-2022 Bart De Vries <bart@mogwai.be>
* *
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/ */
@ -19,6 +19,9 @@ Kirigami.ScrollablePage {
id: subscriptionPage id: subscriptionPage
title: i18n("Subscriptions") title: i18n("Subscriptions")
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
LayoutMirroring.childrenInherit: true
anchors.margins: 0 anchors.margins: 0
padding: 0 padding: 0

View File

@ -1,5 +1,5 @@
/** /**
* SPDX-FileCopyrightText: 2021 Bart De Vries <bart@mogwai.be> * SPDX-FileCopyrightText: 2021-2022 Bart De Vries <bart@mogwai.be>
* *
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/ */
@ -20,6 +20,9 @@ Kirigami.SwipeListItem {
id: listItem id: listItem
alwaysVisibleActions: true alwaysVisibleActions: true
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
LayoutMirroring.childrenInherit: true
property bool isQueue: false property bool isQueue: false
property bool isDownloads: false property bool isDownloads: false
property QtObject listView: undefined property QtObject listView: undefined

View File

@ -1,5 +1,5 @@
/** /**
* SPDX-FileCopyrightText: 2021 Bart De Vries <bart@mogwai.be> * SPDX-FileCopyrightText: 2021-2022 Bart De Vries <bart@mogwai.be>
* *
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/ */
@ -21,6 +21,9 @@ Kirigami.ScrollablePage {
property string pageName: "queuepage" property string pageName: "queuepage"
property alias queueList: queueList property alias queueList: queueList
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
LayoutMirroring.childrenInherit: true
supportsRefreshing: true supportsRefreshing: true
onRefreshingChanged: { onRefreshingChanged: {
if(refreshing) { if(refreshing) {