Skip to content
Snippets Groups Projects
Commit 79bd338f authored by Aline Gondim Santos's avatar Aline Gondim Santos
Browse files

newswarmpage: improve header

Change-Id: Id0546dc26e2806a7107c8c6289e24e27b38f8727
parent ddfacf6e
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,9 @@ Rectangle { ...@@ -45,7 +45,9 @@ Rectangle {
id: labelsMember id: labelsMember
Layout.topMargin: 16 Layout.topMargin: 16
Layout.preferredWidth: root.width Layout.preferredWidth: root.width
Layout.preferredHeight: childrenRect.height
spacing: 16 spacing: 16
visible: root.members.length
Label { Label {
text: JamiStrings.to text: JamiStrings.to
...@@ -55,10 +57,9 @@ Rectangle { ...@@ -55,10 +57,9 @@ Rectangle {
} }
Flow { Flow {
Layout.preferredWidth: root.width
Layout.topMargin: 16 Layout.topMargin: 16
Layout.fillWidth: true Layout.preferredWidth: root.width - 80
Layout.preferredHeight: 48 Layout.preferredHeight: childrenRect.height + 16
spacing: 8 spacing: 8
Repeater { Repeater {
...@@ -95,13 +96,23 @@ Rectangle { ...@@ -95,13 +96,23 @@ Rectangle {
} }
} }
color: "grey" color: JamiTheme.selectedColor
} }
model: root.members 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 { ColumnLayout {
id: mainLayout id: mainLayout
anchors.centerIn: root anchors.centerIn: root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment