on xenial help sign in
Fix property name
commit172b50f4a59f5200220ab58280491366eef30e3a authorAlbert Astals <albert.astals@canonical.com> dateWed 23 Jul 2014, 10:45 (12 years ago) parent8e94bb1
2 files changed+3−3
qml/Dash/GenericScopeView.qml+1−1 tests/plugins/Dash/tst_ListViewWithPageHeaderQML.qml+2−2
qml/Dash/GenericScopeView.qml+1−1
@@ -148,7 +148,7 @@ FocusScope {
148148 top: parent.top
149149 left: parent.left
150150 right: parent.right
151− topMargin: section != "" ? 0 : units.gu(2)
151+ topMargin: name != "" ? 0 : units.gu(2)
152152 }
153153
154154 source: {
tests/plugins/Dash/tst_ListViewWithPageHeaderQML.qml+2−2
@@ -38,7 +38,7 @@ Rectangle {
3838 move(indexFrom, indexTo, count);
3939 }
4040
41− ListElement { type: ""; size: 150 }
41+ ListElement { type: "Agressive"; size: 150 }
4242 ListElement { type: "Regular"; size: 200 }
4343 ListElement { type: "Mild"; size: 350 }
4444 ListElement { type: "Bold"; size: 350 }
@@ -82,7 +82,7 @@ Rectangle {
8282 id: sectionHeaderComponent
8383 Rectangle {
8484 color: "green"
85− height: section != "" ? listView.sectionHeaderHeight : 0
85+ height: listView.sectionHeaderHeight
8686 Text { text: section; font.pixelSize: 34 }
8787 anchors { left: parent.left; right: parent.right }
8888 }