From 9961305867014361e542e7a14632fc4ca3423ef3 Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Fri, 19 Nov 2021 16:34:34 +0100 Subject: LabelSubheader: implement tooltip --- components/LabelSubheader.qml | 1 + components/Tooltip.qml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'components') diff --git a/components/LabelSubheader.qml b/components/LabelSubheader.qml index 585d0027..0e93daa4 100644 --- a/components/LabelSubheader.qml +++ b/components/LabelSubheader.qml @@ -34,6 +34,7 @@ import "../components/effects/" as MoneroEffects Label { id: item fontSize: 18 + tooltipIconVisible: true Rectangle { anchors.top: item.bottom diff --git a/components/Tooltip.qml b/components/Tooltip.qml index 4709837e..ac9a93d7 100644 --- a/components/Tooltip.qml +++ b/components/Tooltip.qml @@ -95,11 +95,12 @@ Rectangle { delay: 200 RowLayout { - Layout.maximumWidth: 350 + Layout.maximumWidth: 370 Text { id: tooltip width: contentWidth + Layout.maximumWidth: 370 color: MoneroComponents.Style.defaultFontColor font.family: MoneroComponents.Style.fontRegular.name font.pixelSize: 12 -- cgit v1.2.3