Improve design of materialised file delegates
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Tue, 20 Feb 2024 09:09:10 +0000 (17:09 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Thu, 7 Mar 2024 03:51:55 +0000 (11:51 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/macOS/ui/FileProviderEvictionDialog.qml
src/gui/macOS/ui/FileProviderFileDelegate.qml

index 674d6b94d5ef906a323afe84f997db73fb7c5b9c..01db805c8bb538fbb081893bcc0e2c9d171dd508 100644 (file)
@@ -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 {
index 25d812f6623e029613b610e92ed4d3a67e66891e..d364a364c3744bb0d0d905addcd7900464de9a4a 100644 (file)
@@ -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)
         }
     }