From 5e9cf09695168c9fdfb30c4e89db2db777f62970 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Fri, 16 Apr 2021 08:42:20 +0200 Subject: [PATCH] fine tune --- examples/iot-dashboard/MenuBar.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/iot-dashboard/MenuBar.cpp b/examples/iot-dashboard/MenuBar.cpp index caaf76fd..7b9f54fe 100644 --- a/examples/iot-dashboard/MenuBar.cpp +++ b/examples/iot-dashboard/MenuBar.cpp @@ -12,6 +12,7 @@ QSK_SUBCONTROL( MenuBarTopLabel, Graphic ) QSK_SUBCONTROL( MenuBarGraphicLabel, Graphic ) QSK_SUBCONTROL( MenuBarLabel, Text ) QSK_SUBCONTROL( MenuItem, Panel ) +QSK_SUBCONTROL( MenuBar, Panel ) QSK_STATE( MenuItem, Active, ( QskAspect::FirstUserState << 1 ) ) @@ -47,8 +48,6 @@ QskAspect::Subcontrol MenuItem::effectiveSubcontrol( QskAspect::Subcontrol subCo } -QSK_SUBCONTROL( MenuBar, Panel ) - MenuBar::MenuBar( QQuickItem* parent ) : QskLinearBox( Qt::Vertical, parent ) { setPanel( true );