From b3bc6b9f7cb692113f8dbef23a79a6bfdc1bef30 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Mon, 22 Sep 2014 12:20:15 +0200 Subject: Fix misleading documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not every length parameter unit is accepted by Qt Style sheets. Task-number: QTBUG-31907 Change-Id: I953c56caf68c1397ba24369f433d21c6f4772d0d Reviewed-by: Shawn Rutledge Reviewed-by: Topi Reiniƶ --- src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc') diff --git a/src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc b/src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc index 32fe384c75..48e3478130 100644 --- a/src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc +++ b/src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc @@ -2901,6 +2901,9 @@ \li \c ex: the ex width of the font (i.e., the height of 'x') \endlist + However, Qt is limited to font sizes in \c pt and \c px and any other + size must be in \c px, \c em or \c ex. + \row \li \b{Number} \target Number \li A decimal integer or a real number -- cgit v1.2.3