Simplify code for padding delegates

pull/806/head
Loren Burkholder 3 years ago
parent 36f1bbcc02
commit f048caee69
  1. 2
      resources/qml/dialogs/InviteDialog.qml
  2. 10
      resources/qml/dialogs/ReadReceipts.qml

@ -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…
Cancel
Save