mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
NTooltip: wip
This commit is contained in:
+3
-3
@@ -46,15 +46,15 @@ PanelWindow {
|
||||
id: myIconButton
|
||||
icon: "refresh"
|
||||
onEntered: function() {
|
||||
myTooltip.tooltipVisible = true;
|
||||
myTooltip.show();
|
||||
}
|
||||
onExited: function() {
|
||||
myTooltip.tooltipVisible = false;
|
||||
myTooltip.hide();
|
||||
}
|
||||
}
|
||||
NTooltip {
|
||||
id: myTooltip
|
||||
targetItem: myIconButton
|
||||
target: myIconButton
|
||||
positionAbove: false
|
||||
text: "Hello world"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user