From c1b2e07e8cce7c96b01d5ed661f753bf43db3681 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 13 Jul 2023 12:42:06 +0800 Subject: [PATCH] Compress share page tab button width and height when sharing API is disabled Signed-off-by: Claudio Cambra --- src/gui/filedetails/FileDetailsPage.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/filedetails/FileDetailsPage.qml b/src/gui/filedetails/FileDetailsPage.qml index 83a64e1a80..2868ad67ba 100644 --- a/src/gui/filedetails/FileDetailsPage.qml +++ b/src/gui/filedetails/FileDetailsPage.qml @@ -232,6 +232,8 @@ Page { } NCTabButton { + width: visible ? implicitWidth : 0 + height: visible ? implicitHeight : 0 svgCustomColorSource: "image://svgimage-custom-color/share.svg" text: qsTr("Sharing") checked: swipeView.currentIndex === shareViewLoader.swipeIndex