diff options
author | NepNep21 <43792621+NepNep21@users.noreply.github.com> | 2023-08-04 03:30:45 -0300 |
---|---|---|
committer | NepNep21 <43792621+NepNep21@users.noreply.github.com> | 2023-10-01 22:52:39 -0300 |
commit | 563bb0a651f37de4f26b0df06c1361bf8063a9b6 (patch) | |
tree | c88ec0b91fff1bdcc9dbb489c8c79c0bfc379ba7 | |
parent | Rebase (diff) | |
download | nheko-563bb0a651f37de4f26b0df06c1361bf8063a9b6.tar.xz |
UI improvements
-rw-r--r-- | resources/qml/dialogs/IgnoredUsers.qml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/resources/qml/dialogs/IgnoredUsers.qml b/resources/qml/dialogs/IgnoredUsers.qml index 714cb67e..51feb9cb 100644 --- a/resources/qml/dialogs/IgnoredUsers.qml +++ b/resources/qml/dialogs/IgnoredUsers.qml @@ -34,13 +34,23 @@ Window { ListView { id: view - width: ignoredUsers.width - height: ignoredUsers.height - Layout.leftMargin: Nheko.paddingMedium - Layout.rightMargin: Nheko.paddingMedium + anchors.fill: parent spacing: Nheko.paddingMedium 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 { width: view.width Text { |