mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-03 21:53:43 +02:00
newswarmpage: improve header
Change-Id: Id0546dc26e2806a7107c8c6289e24e27b38f8727
This commit is contained in:
parent
ddfacf6e29
commit
79bd338f6e
1 changed files with 15 additions and 4 deletions
|
@ -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 {
|
||||||
}
|
}
|
||||||
|
|
||||||
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 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue