fix: fix show tooltip under the version button because of small space
This commit is contained in:
parent
d3dbab11d2
commit
e0b8a74e29
|
@ -23,6 +23,7 @@ Item {
|
|||
name: qsTrId("version")
|
||||
//% "Version: %1"
|
||||
description: qsTrId("version---1").arg("beta.7.rc2")
|
||||
tooltipUnder: true
|
||||
}
|
||||
|
||||
StatusSectionDescItem {
|
||||
|
|
|
@ -12,6 +12,7 @@ Rectangle {
|
|||
color: Style.current.transparent
|
||||
property var onClick: function() {}
|
||||
property string textToCopy: ""
|
||||
property bool tooltipUnder: false
|
||||
|
||||
Image {
|
||||
width: 20
|
||||
|
@ -61,6 +62,7 @@ Rectangle {
|
|||
id: toolTip
|
||||
//% "Copied!"
|
||||
text: qsTrId("copied-")
|
||||
orientation: tooltipUnder ? "bottom" : "top"
|
||||
}
|
||||
|
||||
Timer {
|
||||
|
|
|
@ -8,6 +8,7 @@ import "../../shared"
|
|||
Item {
|
||||
property string name
|
||||
property string description
|
||||
property alias tooltipUnder: copyToClipboardBtn.tooltipUnder
|
||||
|
||||
id: root
|
||||
width: parent.width
|
||||
|
|
Loading…
Reference in New Issue