LabelSubheader: implement tooltip

This commit is contained in:
rating89us
2021-11-19 16:34:34 +01:00
parent ecf5c501d6
commit 9961305867
3 changed files with 7 additions and 17 deletions

View File

@@ -34,6 +34,7 @@ import "../components/effects/" as MoneroEffects
Label {
id: item
fontSize: 18
tooltipIconVisible: true
Rectangle {
anchors.top: item.bottom

View File

@@ -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