mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 04:55:48 +03:00
Improve design of materialised file delegates
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
5f243a86d4
commit
fe53933b04
2 changed files with 5 additions and 1 deletions
|
@ -67,6 +67,9 @@ ApplicationWindow {
|
|||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
||||
Layout.leftMargin: Style.standardSpacing
|
||||
Layout.rightMargin: Style.standardSpacing
|
||||
|
||||
clip: true
|
||||
model: root.materialisedItemsModel
|
||||
delegate: FileProviderFileDelegate {
|
||||
|
|
|
@ -90,11 +90,12 @@ Item {
|
|||
id: deleteButton
|
||||
|
||||
Layout.minimumWidth: implicitWidth
|
||||
Layout.fillHeight: true
|
||||
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
|
||||
|
||||
text: qsTr("Delete")
|
||||
textColorHovered: Style.ncHeaderTextColor
|
||||
bgColor: Style.errorBoxBackgroundColor
|
||||
contentsFont.bold: true
|
||||
onClicked: root.evictItem(root.identifier, root.domainIdentifier)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue