From 9d3864b7f09efc65d2f0e64f6579d5a3974721a2 Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Wed, 19 May 2021 18:36:44 +0200 Subject: Implement tooltips in multiple pages and components --- components/TextPlain.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'components/TextPlain.qml') diff --git a/components/TextPlain.qml b/components/TextPlain.qml index 822f86a2..1dfe32fd 100644 --- a/components/TextPlain.qml +++ b/components/TextPlain.qml @@ -13,6 +13,9 @@ Text { property string themeTransitionBlackColor: "" property string themeTransitionWhiteColor: "" property alias tooltip: tooltip.text + property alias tooltipLeft: tooltip.tooltipLeft + property alias tooltipIconVisible: tooltip.tooltipIconVisible + property alias tooltipPopup: tooltip.tooltipPopup font.family: MoneroComponents.Style.fontMedium.name font.bold: false font.pixelSize: 14 @@ -30,6 +33,6 @@ Text { MoneroComponents.Tooltip { id: tooltip anchors.top: parent.top - anchors.left: parent.right + anchors.left: tooltipIconVisible ? parent.right : parent.left } } -- cgit v1.2.3