on xenial help sign in
Behave like the secion delegate we have in rela life (size 0 when no text)

This breaks the tests, next commit will fix them

commit034c42e663345b307aec6c65ff4c5a8c4062b7bc authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 16 Mar 2016, 11:25 (11 years ago) parenta22847a
1 file changed+1−1
tests/plugins/Dash/listviewwithpageheadertestsection.qml+1−1
tests/plugins/Dash/listviewwithpageheadertestsection.qml+1−1
@@ -98,7 +98,7 @@ Rectangle {
9898 sectionDelegate: Component {
9999 Rectangle {
100100 color: "green"
101− height: section != "halfheight" ? 40 : 20;
101+ height: section === "" ? 0 : section != "halfheight" ? 40 : 20;
102102 Text { text: section; font.pixelSize: 34 }
103103 anchors { left: parent.left; right: parent.right }
104104 }