diff --git a/src/app/mainview/components/NewSwarmPage.qml b/src/app/mainview/components/NewSwarmPage.qml index a492f05669d9eaec63221f1dd8a612bd0de81f45..6e31a24bd875d3e4733fa4bcd9e1525b6817821b 100644 --- a/src/app/mainview/components/NewSwarmPage.qml +++ b/src/app/mainview/components/NewSwarmPage.qml @@ -45,7 +45,9 @@ Rectangle { id: labelsMember Layout.topMargin: 16 Layout.preferredWidth: root.width + Layout.preferredHeight: childrenRect.height spacing: 16 + visible: root.members.length Label { text: JamiStrings.to @@ -55,10 +57,9 @@ Rectangle { } Flow { - Layout.preferredWidth: root.width Layout.topMargin: 16 - Layout.fillWidth: true - Layout.preferredHeight: 48 + Layout.preferredWidth: root.width - 80 + Layout.preferredHeight: childrenRect.height + 16 spacing: 8 Repeater { @@ -95,13 +96,23 @@ Rectangle { } } - color: "grey" + color: JamiTheme.selectedColor } model: root.members } } } + Rectangle { + anchors.top: labelsMember.bottom + visible: labelsMember.visible + height: 1 + width: root.width + color: "transparent" + border.width: 1 + border.color: JamiTheme.selectedColor + } + ColumnLayout { id: mainLayout anchors.centerIn: root