@@ -100,6 +100,8 @@
100100#include <private/qquickanimation_p.h>
101101// #include <private/qquickrectangle_p.h>
102102
103+static const qreal bufferRatio = 0.5;
104+
103105qreal ListViewWithPageHeader::ListItem::height() const
104106{
105107 return m_item->height() + (m_sectionItem ? m_sectionItem->height() : 0);
@@ -323,7 +325,7 @@ void ListViewWithPageHeader::positionAtBeginning()
323325 // Create the subsequent items
324326 int modelIndex = 1;
325327 qreal pos = item->y() + item->height();
326− const qreal buffer = height() / 2;
328+ const qreal buffer = height() * bufferRatio;
327329 const qreal bufferTo = height() + buffer;
328330 while (modelIndex < m_delegateModel->count() && pos <= bufferTo) {
329331 if (!(item = createItem(modelIndex, false)))
@@ -441,7 +443,7 @@ void ListViewWithPageHeader::refill()
441443 return;
442444 }
443445
444− const qreal buffer = height() / 2;
446+ const qreal buffer = height() * bufferRatio;
445447 const qreal from = contentY();
446448 const qreal to = from + height();
447449 const qreal bufferFrom = from - buffer;