From c54c97378330a5e4002cd88758ff772e92292d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Barbosa?= Date: Fri, 1 Dec 2023 11:23:52 +0000 Subject: [PATCH] qml: change peer delegate layout --- src/qml/pages/node/Peers.qml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/qml/pages/node/Peers.qml b/src/qml/pages/node/Peers.qml index ddcdf5f214..a8b0173aa9 100644 --- a/src/qml/pages/node/Peers.qml +++ b/src/qml/pages/node/Peers.qml @@ -232,10 +232,10 @@ Page { width: parent.width } } - contentItem: RowLayout { - spacing: 15 - ColumnLayout { + contentItem: ColumnLayout { + RowLayout { Layout.fillWidth: true + spacing: 15 CoreText { Layout.alignment: Qt.AlignLeft Layout.fillWidth: true @@ -247,6 +247,14 @@ Page { wrapMode: Text.NoWrap horizontalAlignment: Text.AlignLeft } + CoreText { + Layout.alignment: Qt.AlignRight + id: secondary + font.pixelSize: 18 + color: delegate.stateColor + } + } + RowLayout { CoreText { Layout.alignment: Qt.AlignLeft Layout.fillWidth: true @@ -258,15 +266,6 @@ Page { wrapMode: Text.NoWrap horizontalAlignment: Text.AlignLeft } - } - ColumnLayout { - Layout.fillWidth: false - CoreText { - Layout.alignment: Qt.AlignRight - id: secondary - font.pixelSize: 18 - color: delegate.stateColor - } CoreText { Layout.alignment: Qt.AlignRight id: quaternary