From c287ff35000f8cb18d79f897b9b01abb2a432052 Mon Sep 17 00:00:00 2001 From: quadbyte Date: Sun, 10 Aug 2025 07:33:27 -0400 Subject: [PATCH] DemoPanel cleanup --- Modules/DemoPanel/DemoPanel.qml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Modules/DemoPanel/DemoPanel.qml b/Modules/DemoPanel/DemoPanel.qml index 89fec51..c758c16 100644 --- a/Modules/DemoPanel/DemoPanel.qml +++ b/Modules/DemoPanel/DemoPanel.qml @@ -40,7 +40,7 @@ NPanel { ColumnLayout { spacing: 16 * scaling NText { - text: "NIconButton" + text: "NIconButton + NTooltip" color: Colors.accentSecondary } @@ -55,6 +55,13 @@ NPanel { } } + NTooltip { + id: myTooltip + target: myIconButton + positionAbove: false + text: "Hello world" + } + NDivider {Layout.fillWidth: true} } @@ -64,7 +71,7 @@ NPanel { spacing: Style.marginLarge * scaling uniformCellSizes: true NText { - text: "NToggle + NTooltip" + text: "NToggle" color: Colors.accentSecondary } @@ -76,12 +83,7 @@ NPanel { } } - NTooltip { - id: myTooltip - target: myIconButton - positionAbove: false - text: "Hello world" - } + NDivider { Layout.fillWidth: true }