on xenial help sign in
harmonize
addd978Albert Astals
Dash/Apps/RunningApplicationsGrid.qml+1−1
@@ -23,7 +23,7 @@ ResponsiveFlowView {
23
23
24 signal updateScreenshots
24 signal updateScreenshots
25 property alias enableHeightBehavior: heightBehaviour.enabled
25 property alias enableHeightBehavior: heightBehaviour.enabled
26− property bool enableHeightBehaviourOnNextCreation: firstModel.count + secondModel.count == 0
26+ property bool enableHeightBehaviorOnNextCreation: firstModel.count + secondModel.count == 0
27
27
28 Connections {
28 Connections {
29 target: shell
29 target: shell
Dash/GenericScopeView.qml+3−3
@@ -86,7 +86,7 @@ ScopeView {
86 source: getRenderer(model.renderer, model.contentType)
86 source: getRenderer(model.renderer, model.contentType)
87
87
88 onLoaded: {
88 onLoaded: {
89− if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviourOnNextCreation !== undefined) {
89+ if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviorOnNextCreation !== undefined) {
90 item.enableHeightBehavior = scopeView.enableHeightBehaviorOnNextCreation;
90 item.enableHeightBehavior = scopeView.enableHeightBehaviorOnNextCreation;
91 scopeView.enableHeightBehaviorOnNextCreation = false;
91 scopeView.enableHeightBehaviorOnNextCreation = false;
92 }
92 }
@@ -107,8 +107,8 @@ ScopeView {
107 }
107 }
108
108
109 Component.onDestruction: {
109 Component.onDestruction: {
110− if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviourOnNextCreation !== undefined) {
110+ if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviorOnNextCreation !== undefined) {
111− scopeView.enableHeightBehaviorOnNextCreation = item.enableHeightBehaviourOnNextCreation;
111+ scopeView.enableHeightBehaviorOnNextCreation = item.enableHeightBehaviorOnNextCreation;
112 }
112 }
113 }
113 }
114
114