Skip to content
Snippets Groups Projects
Unverified Commit 563bb0a6 authored by NepNep21's avatar NepNep21
Browse files

UI improvements

parent d1ba9fd8
No related branches found
No related tags found
No related merge requests found
...@@ -34,13 +34,23 @@ Window { ...@@ -34,13 +34,23 @@ Window {
ListView { ListView {
id: view id: view
width: ignoredUsers.width anchors.fill: parent
height: ignoredUsers.height
Layout.leftMargin: Nheko.paddingMedium
Layout.rightMargin: Nheko.paddingMedium
spacing: Nheko.paddingMedium spacing: Nheko.paddingMedium
model: users model: users
header: ColumnLayout {
Text {
Layout.fillWidth: true
Layout.maximumWidth: view.width
// Review request: Wrapping occurs with default width/font values, would it be better design to increase the window width?
wrapMode: Text.Wrap
color: palette.text
text: qsTr("Ignoring a user hides their messages (they can still see yours!).")
}
// Review request: Is there a better way to do this?
Item { Layout.preferredHeight: Nheko.paddingLarge }
}
delegate: RowLayout { delegate: RowLayout {
width: view.width width: view.width
Text { Text {
......
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