BarWidgets: fixed NPill conditional open left or right that I broke earlier.
This commit is contained in:
parent
40edc38756
commit
ecb7a9d448
2 changed files with 8 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ Variants {
|
||||||
// Left Section - Dynamic Widgets
|
// Left Section - Dynamic Widgets
|
||||||
Row {
|
Row {
|
||||||
id: leftSection
|
id: leftSection
|
||||||
|
objectName: "leftSection"
|
||||||
|
|
||||||
height: parent.height
|
height: parent.height
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
|
@ -79,6 +80,7 @@ Variants {
|
||||||
// Center Section - Dynamic Widgets
|
// Center Section - Dynamic Widgets
|
||||||
Row {
|
Row {
|
||||||
id: centerSection
|
id: centerSection
|
||||||
|
objectName: "centerSection"
|
||||||
|
|
||||||
height: parent.height
|
height: parent.height
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
@ -104,6 +106,7 @@ Variants {
|
||||||
// Right Section - Dynamic Widgets
|
// Right Section - Dynamic Widgets
|
||||||
Row {
|
Row {
|
||||||
id: rightSection
|
id: rightSection
|
||||||
|
objectName: "rightSection"
|
||||||
|
|
||||||
height: parent.height
|
height: parent.height
|
||||||
anchors.right: bar.right
|
anchors.right: bar.right
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,11 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (item.hasOwnProperty("onLoaded")) {
|
||||||
|
item.onLoaded()
|
||||||
|
}
|
||||||
|
|
||||||
//Logger.log("NWidgetLoader", "Loaded", widgetName, "on screen", item.screen.name)
|
//Logger.log("NWidgetLoader", "Loaded", widgetName, "on screen", item.screen.name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue