Commit 9519b0f6 authored by Linus Jahn's avatar Linus Jahn 🔌 Committed by Jonah Brüchert
Browse files

RosterPage: Fix names are displayed too short

This removes an old placeholder, which is not needed anymore. It also adds the
Layout.fillWidth property to the name and last chat message, so they use the
full space, when the unread message counter isn't visible.

Fixes #217.
parent 0a126e4a
......@@ -58,6 +58,7 @@ Kirigami.SwipeListItem {
// right side
ColumnLayout {
spacing: Kirigami.Units.smallSpacing
Layout.fillWidth: true
// contact name
Kirigami.Heading {
......@@ -88,10 +89,5 @@ Kirigami.SwipeListItem {
Layout.preferredHeight: Kirigami.Units.gridUnit * 1.25
Layout.preferredWidth: Kirigami.Units.gridUnit * 1.25
}
// placeholder
Item {
width: Kirigami.Units.gridUnit * 2.5
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment