From 959b76fd57dec4820be7e8e187441826c841b0d2 Mon Sep 17 00:00:00 2001 From: Noelia Date: Thu, 26 May 2022 18:02:41 +0200 Subject: [PATCH] =?UTF-8?q?fix(Settings/Messaging):=20Spacing=20is=20wrong?= =?UTF-8?q?=20between=20=E2=80=9CSystem=20Default=20Browser=E2=80=9D=20and?= =?UTF-8?q?=20separator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Improved spacing between elements in `MessagingView.qml` Closes #5847 --- .../AppLayouts/Profile/views/MessagingView.qml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/ui/app/AppLayouts/Profile/views/MessagingView.qml b/ui/app/AppLayouts/Profile/views/MessagingView.qml index f7f373b9cc..65c34113fe 100644 --- a/ui/app/AppLayouts/Profile/views/MessagingView.qml +++ b/ui/app/AppLayouts/Profile/views/MessagingView.qml @@ -27,7 +27,7 @@ SettingsContentBase { ColumnLayout { id: generalColumn - spacing: Constants.settingsSection.itemSpacing + spacing: 2 * Constants.settingsSection.itemSpacing width: root.contentWidth ButtonGroup { @@ -118,14 +118,9 @@ SettingsContentBase { ) } - Item { - id: spacer1 - Layout.fillWidth: true - Layout.preferredHeight: 6 - } - // SEE PROFILTE PICTURES FROM StatusBaseText { + Layout.topMargin: Constants.settingsSection.itemSpacing Layout.fillWidth: true Layout.leftMargin: Style.current.padding Layout.rightMargin: Style.current.padding @@ -173,14 +168,9 @@ SettingsContentBase { ) } - Item { - id: spacer2 - Layout.fillWidth: true - Layout.preferredHeight: 6 - } - // Open Message Links With StatusBaseText { + Layout.topMargin: Constants.settingsSection.itemSpacing Layout.fillWidth: true Layout.leftMargin: Style.current.padding Layout.rightMargin: Style.current.padding @@ -202,6 +192,7 @@ SettingsContentBase { } SettingsRadioButton { + Layout.topMargin: Constants.settingsSection.itemSpacing / 2 Layout.fillWidth: true Layout.leftMargin: Style.current.padding Layout.rightMargin: Style.current.padding @@ -215,6 +206,7 @@ SettingsContentBase { Separator { id: separator1 + Layout.topMargin: Constants.settingsSection.itemSpacing Layout.fillWidth: true }