mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
UI improvements
This commit is contained in:
parent
d1ba9fd878
commit
563bb0a651
1 changed files with 14 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue