@@ -68,11 +68,16 @@ AbstractButton {
68 return true;
68 return true;
71+ /* Relevant really only for ListViewWithPageHeader case: specify how many pixels we can overlap with the section header */
72+ readonly property int allowedOverlap: units.dp(1)
71 property real __heightToClip: {
74 property real __heightToClip: {
72 // Check this is in position where clipping is needed
75 // Check this is in position where clipping is needed
73 if (typeof ListViewWithPageHeader !== 'undefined') {
76 if (typeof ListViewWithPageHeader !== 'undefined') {
74 if (typeof heightToClip !== 'undefined') {
77 if (typeof heightToClip !== 'undefined') {
78+ if (heightToClip >= allowedOverlap) {
75− return heightToClip;
79+ return heightToClip - allowedOverlap;