diff options
| author | Matthias Rauter <matthias.rauter@qt.io> | 2023-06-15 12:09:32 +0200 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2023-06-16 07:57:39 +0000 |
| commit | 3df2ec05c26c9b88c99b0ccdbf6ffe19a73ed3dd (patch) | |
| tree | 5a88a61ac3be1a6247d7cbe72e265ac2963aeee7 /src/quick/items/qquicklistview.cpp | |
| parent | 9342ddfbf812fdbcc41113dd65b9be42b91651b2 (diff) | |
Fix grammar and links in ListView documentation
Pick-to: 6.5 6.6
Change-Id: I0a72dab7d4bebddc7371c214d3c8a908bc233a1a
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/items/qquicklistview.cpp')
| -rw-r--r-- | src/quick/items/qquicklistview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/quick/items/qquicklistview.cpp b/src/quick/items/qquicklistview.cpp index 1d3614c821..9a4c8da89c 100644 --- a/src/quick/items/qquicklistview.cpp +++ b/src/quick/items/qquicklistview.cpp @@ -2222,14 +2222,14 @@ QQuickItemViewAttached *QQuickListViewPrivate::getAttachedObject(const QObject * \section1 Variable Delegate Size and Section Labels Variable delegate sizes might lead to resizing and skipping of any attached - \l Scrollbar. This is because ListView estimates its content size from - allocated items (usually only the visible items, the rest is assumed to be of + \l {ScrollBar}. This is because ListView estimates its content size from + allocated items (usually only the visible items, the rest are assumed to be of similar size), and variable delegate sizes prevent an accurate estimation. To - reduce this effect, \l ItemView::cacheBuffer can be set to higher values, + reduce this effect, \l {ListView::}{cacheBuffer} can be set to higher values, effectively creating more items and improving the size estimate of unallocated - items, at the expense of additional memory usage. Sections have the same effect - because they attach and elongate the section label to the first item within - the section. + items, at the expense of additional memory usage. \l{ListView::section}{Sections} + have the same effect because they attach and elongate the section label to the + first item within the section. */ QQuickListView::QQuickListView(QQuickItem *parent) : QQuickItemView(*(new QQuickListViewPrivate), parent) |
