summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2020-01-16 16:00:02 +0100
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2020-01-21 11:05:37 +0100
commit21ee3b17b746f6d2e0e59836dfc4b9d0587a6bec (patch)
tree7e711c3600421f8d84b251decbaea99cd2ec6daa /src/gui
parent520f7bb8323814593b9733aee3b800884cd39dff (diff)
Doc: Add the line-height CSS property to the list
Apparently, it is one of the text CSS properties that Qt supports. Fixes: QTBUG-34053 Task-number: QTBUG-34053 Change-Id: I3076ab2f51f1519f41610b1e81dfecbb8dbc0256 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/doc/src/richtext.qdoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/doc/src/richtext.qdoc b/src/gui/doc/src/richtext.qdoc
index 24fd4240b3..d3197f159c 100644
--- a/src/gui/doc/src/richtext.qdoc
+++ b/src/gui/doc/src/richtext.qdoc
@@ -1269,6 +1269,14 @@
\row \li \c word-spacing
\li <width>px
\li Specifies an alternate spacing between each word.
+ \row \li \c line-height
+ \li <number>[% | px | pt | cm]
+ \li Specifies the height of a line. It can be one of the
+ following:
+ \list
+ \li fixed line height in pixels, points, or centimeters.
+ \li a percent of the current font size.
+ \endlist
\endtable
\section1 Supported CSS Selectors