Simplify code for padding delegates

This commit is contained in:
Loren Burkholder 2021-11-15 19:04:33 -05:00
parent 36f1bbcc02
commit f048caee69
2 changed files with 8 additions and 4 deletions

View file

@ -155,7 +155,7 @@ ApplicationWindow {
}
ImageButton {
image: ":/icons/icons/ui/remove-symbol.png"
image: ":/icons/icons/ui/dismiss.svg"
onClicked: invitees.removeUser(model.mxid)
}

View file

@ -75,8 +75,8 @@ ApplicationWindow {
id: receiptLayout
spacing: Nheko.paddingMedium
anchors.verticalCenter: parent.verticalCenter
x: parent.x + Nheko.paddingSmall
anchors.fill: parent
anchors.margins: Nheko.paddingSmall
Avatar {
width: Nheko.avatarSize
@ -103,12 +103,16 @@ ApplicationWindow {
}
Item {
Layout.fillHeight: true
Layout.fillWidth: true
}
}
Item {
Layout.fillWidth: true
Layout.fillHeight: true
}
}
CursorShape {