From: Claudio Cambra Date: Thu, 27 Apr 2023 14:08:28 +0000 (+0800) Subject: Display tooltip showing names of overflowing tags in FileDetailsPage's overflow tag X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~49^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b440e3011d0e96240f99b27e0c7a53f2ac524f21;p=nextcloud-desktop.git Display tooltip showing names of overflowing tags in FileDetailsPage's overflow tag Signed-off-by: Claudio Cambra --- diff --git a/src/gui/filedetails/FileDetailsPage.qml b/src/gui/filedetails/FileDetailsPage.qml index ff43acb04..696750871 100644 --- a/src/gui/filedetails/FileDetailsPage.qml +++ b/src/gui/filedetails/FileDetailsPage.qml @@ -199,6 +199,15 @@ Page { visible: totalFileTags > maxFileTags text: "+" + String(totalFileTags - maxFileTags) + + HoverHandler { + id: hoverHandler + } + + NCToolTip { + visible: hoverHandler.hovered + text: tagRepeater.fileTagModel.overflowTagsString + } } } }