on xenial help sign in
Behave like the secion delegate we have in rela life (size 0 when no text)
034c42eAlbert Astals Cid
tests/plugins/Dash/listviewwithpageheadertestsection.qml+1−1
@@ -98,7 +98,7 @@ Rectangle {
98 sectionDelegate: Component {
98 sectionDelegate: Component {
99 Rectangle {
99 Rectangle {
100 color: "green"
100 color: "green"
101− height: section != "halfheight" ? 40 : 20;
101+ height: section === "" ? 0 : section != "halfheight" ? 40 : 20;
102 Text { text: section; font.pixelSize: 34 }
102 Text { text: section; font.pixelSize: 34 }
103 anchors { left: parent.left; right: parent.right }
103 anchors { left: parent.left; right: parent.right }
104 }
104 }