Doc: Add table that showcase vertical offset

In the current docs, the table for the horizontal and vertical offset
properties only shows images where the horizontal offset property is
changed. Add a table that also shows changes to the vertical
offset property.

Fixes: QTBUG-115467
Pick-to: 6.6 6.5 6.4 6.2
Change-Id: Ieb0c0871345ff49afb3caa85318d8f2df6544916
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Andreas Eliasson 2023-08-01 10:38:57 +02:00
parent 8b22d82f9a
commit baeafde4f7
1 changed files with 28 additions and 0 deletions

View File

@ -232,6 +232,34 @@ Item {
\li \l spread: 0
\li \l spread: 0
\endtable
\table
\header
\li Output examples with different verticalOffset values
\li
\li
\row
\li \image DropShadow_horizontalOffset2.png
\li \image DropShadow_spread1.png
\row
\li \b { horizontalOffset: 0 }
\li \b { horizontalOffset: 0 }
\row
\li \l radius: 4
\li \l radius: 8
\row
\li \l samples: 9
\li \l samples: 17
\row
\li \l color: #000000
\li \l color: #000000
\row
\li \l verticalOffset: 0
\li \l verticalOffset: 20
\row
\li \l spread: 0
\li \l spread: 0
\endtable
*/
property alias horizontalOffset: dbs.horizontalOffset
property alias verticalOffset: dbs.verticalOffset