From 980de92c68d12fce00e43aad5a3e821f348b4289 Mon Sep 17 00:00:00 2001 From: agsantos <aline.gondimsantos@savoirfairelinux.com> Date: Mon, 19 Apr 2021 14:20:43 -0400 Subject: [PATCH] fix: pluginpicker keep close button in the right Change-Id: Id74bf3661942fbd7b8b0235428b0e3d34fb0e6b8 --- .../components/PluginHandlerPicker.qml | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/mainview/components/PluginHandlerPicker.qml b/src/mainview/components/PluginHandlerPicker.qml index c66603d47..2a6f60678 100644 --- a/src/mainview/components/PluginHandlerPicker.qml +++ b/src/mainview/components/PluginHandlerPicker.qml @@ -93,22 +93,9 @@ Popup { RowLayout { height: JamiTheme.preferredFieldHeight - PushButton { - id: closeButton - Layout.leftMargin: 5 - Layout.topMargin: 5 - - source: "qrc:/images/icons/round-close-24px.svg" - imageColor: JamiTheme.textColor - - onClicked: { - root.close() - } - } - Text { Layout.topMargin: 10 - Layout.rightMargin: 5 + closeButton.width + Layout.leftMargin: 5 + closeButton.width Layout.alignment: Qt.AlignCenter Layout.fillWidth: true @@ -121,6 +108,20 @@ Popup { text: qsTr("Choose plugin") } + + PushButton { + id: closeButton + Layout.alignment: Qt.AlignRight + Layout.rightMargin: 5 + Layout.topMargin: 5 + + source: "qrc:/images/icons/round-close-24px.svg" + imageColor: JamiTheme.textColor + + onClicked: { + root.close() + } + } } ListView { -- GitLab