aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicklistview.cpp
diff options
context:
space:
mode:
authorAndreas Eliasson <andreas.eliasson@qt.io>2023-06-13 13:34:34 +0200
committerAndreas Eliasson <andreas.eliasson@qt.io>2023-06-15 11:57:32 +0000
commit7d2a635720cf93d00d60018e7149efc8ff47580f (patch)
treee66708e105f6e363806e13a6dac295156bc440b8 /src/quick/items/qquicklistview.cpp
parenta2104034d404179f5fad98fd54a133b288ded47d (diff)
Doc: Don't mix \value and \table
Fix broken \table that immediately followed a \value command. The table generated by the \value command and the content of the \table command got merged together with unexpected results. Remove the \table entirely, and use \inlineimage inside the \value command. Fixes: QTBUG-114421 Pick-to: 6.6 6.5 Change-Id: Ie4a18a82e375098a3a2e13820c1c957d191605c8 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'src/quick/items/qquicklistview.cpp')
-rw-r--r--src/quick/items/qquicklistview.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/quick/items/qquicklistview.cpp b/src/quick/items/qquicklistview.cpp
index 361f07e480..1d3614c821 100644
--- a/src/quick/items/qquicklistview.cpp
+++ b/src/quick/items/qquicklistview.cpp
@@ -2554,17 +2554,11 @@ void QQuickListView::setSpacing(qreal spacing)
Possible values:
\value ListView.Horizontal Items are laid out horizontally
+ \br
+ \inlineimage ListViewHorizontal.png
\value ListView.Vertical (default) Items are laid out vertically
-
- \table
- \row
- \li Horizontal orientation:
- \image ListViewHorizontal.png
-
- \row
- \li Vertical orientation:
- \image listview-highlight.png
- \endtable
+ \br
+ \inlineimage listview-highlight.png
\sa {Flickable Direction}
*/