diff --git a/Modules/Bar/Bar.qml b/Modules/Bar/Bar.qml index 6b78479..ac8364b 100644 --- a/Modules/Bar/Bar.qml +++ b/Modules/Bar/Bar.qml @@ -53,6 +53,7 @@ Variants { // Left Section - Dynamic Widgets Row { id: leftSection + objectName: "leftSection" height: parent.height anchors.left: parent.left @@ -79,6 +80,7 @@ Variants { // Center Section - Dynamic Widgets Row { id: centerSection + objectName: "centerSection" height: parent.height anchors.horizontalCenter: parent.horizontalCenter @@ -104,6 +106,7 @@ Variants { // Right Section - Dynamic Widgets Row { id: rightSection + objectName: "rightSection" height: parent.height anchors.right: bar.right diff --git a/Widgets/NWidgetLoader.qml b/Widgets/NWidgetLoader.qml index c0a623e..611e0cb 100644 --- a/Widgets/NWidgetLoader.qml +++ b/Widgets/NWidgetLoader.qml @@ -35,6 +35,11 @@ Item { } } } + + if (item.hasOwnProperty("onLoaded")) { + item.onLoaded() + } + //Logger.log("NWidgetLoader", "Loaded", widgetName, "on screen", item.screen.name) } }