mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Simplify code for padding delegates
This commit is contained in:
parent
36f1bbcc02
commit
f048caee69
2 changed files with 8 additions and 4 deletions
|
@ -155,7 +155,7 @@ ApplicationWindow {
|
|||
}
|
||||
|
||||
ImageButton {
|
||||
image: ":/icons/icons/ui/remove-symbol.png"
|
||||
image: ":/icons/icons/ui/dismiss.svg"
|
||||
onClicked: invitees.removeUser(model.mxid)
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue