NIconButton: added native tooltip handling

This commit is contained in:
quadbyte 2025-08-10 15:09:58 -04:00
parent 275c2ae8ba
commit 9e0bb64d07
4 changed files with 18 additions and 17 deletions

View file

@ -83,8 +83,8 @@ Variants {
NIconButton {
id: demoPanelToggle
icon: "experiment"
tooltipText: "Open demo panel"
anchors.verticalCenter: parent.verticalCenter
onClicked: function () {
demoPanel.isLoaded = !demoPanel.isLoaded
@ -93,8 +93,8 @@ Variants {
NIconButton {
id: sidePanelToggle
icon: "widgets"
tooltipText: "Open side panel"
anchors.verticalCenter: parent.verticalCenter
onClicked: function () {
// Map this button's center to the screen and open the side panel below it