From ce026dfd94d4675d2393261c01aef31ef228b527 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 21 Feb 2024 17:56:57 +0800 Subject: [PATCH] Add proper design for share view in file provider UI Signed-off-by: Claudio Cambra --- .../ShareViewController.swift | 6 +- .../FileProviderUIExt/ShareViewController.xib | 94 ++++++++++++++----- 2 files changed, 72 insertions(+), 28 deletions(-) diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.swift index 25d535d34..ba707dc1d 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.swift +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.swift @@ -8,8 +8,10 @@ import AppKit class ShareViewController: NSViewController { - @IBOutlet weak var identifierLabel: NSTextField! - @IBOutlet weak var actionTypeLabel: NSTextField! + @IBOutlet weak var fileNameIcon: NSImageView! + @IBOutlet weak var fileNameLabel: NSTextField! + @IBOutlet weak var descriptionLabel: NSTextField! + @IBOutlet weak var closeButton: NSButton! public override var nibName: NSNib.Name? { return NSNib.Name(self.className) diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.xib b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.xib index f80ef2f47..201ba5ea4 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.xib +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.xib @@ -3,59 +3,101 @@ + - - + + + + - - + + - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + +