@@ -31,7 +31,7 @@ Item {
31 property bool isCurrentItem
31 property bool isCurrentItem
32 readonly property bool empty: (__loader.item !== undefined && __loader.status == Loader.Ready) ? __loader.item.state === "EMPTY" : true
32 readonly property bool empty: (__loader.item !== undefined && __loader.status == Loader.Ready) ? __loader.item.state === "EMPTY" : true
34− implicitHeight: (__loader.status === Loader.Ready) ? __loader.item.implicitHeight : 0
34+ implicitHeight: __loader.height
36 signal activated()
36 signal activated()
37 signal deactivated()
37 signal deactivated()
@@ -71,8 +71,13 @@ Item {
73 id: __loader
73 id: __loader
75 asynchronous: true
74 asynchronous: true
76 sourceComponent: {
81 sourceComponent: {
77 if (!__menuFactory.menu || !__menuFactory.menu.extra) {
82 if (!__menuFactory.menu || !__menuFactory.menu.extra) {
78 return undefined;
83 return undefined;
@@ -81,15 +86,13 @@ Item {
81 var widgetType = __menuFactory.menu.extra.canonical_type;
86 var widgetType = __menuFactory.menu.extra.canonical_type;
82 if (widgetType) {
87 if (widgetType) {
83 return _map[widgetType];
88 return _map[widgetType];
86 if (widgetType === "com.canonical.indicator.root") {
90 if (widgetType === "com.canonical.indicator.root") {
87 return undefined;
91 return undefined;
88 // Try discovery the item based on the basic properties
92 // Try discovery the item based on the basic properties
89 } else if (menu.hasSection) {
93 } else if (menu.hasSection) {
90 return sectionMenu;
94 return sectionMenu;
93 return indicatorMenu;
96 return indicatorMenu;