From b2b32d3147eb213c835072994c93d2af3e7d285a Mon Sep 17 00:00:00 2001 From: Andrew O'Doherty Date: Mon, 24 Sep 2018 14:52:09 +0200 Subject: fix HTML subset documentation is not very readable on smaller screens When viewing "Supported HTML Subset" documentation in Qt Creator (in QTextBrowser), the first table that lists all tags is quite unreadable (see images). It happens because there is a code snippet in Comment column for tag "meta" that uses pre-formatted text. Because it should not be wrapped automatically, it ends up pushing first 2 columns into their minimum size, which mostly makes them take a single letter per row. Task-number: QTBUG-64126 Change-Id: I08bf6f61806d52e7a2f47bdbed1b5950825ce739 Reviewed-by: Leena Miettinen --- src/gui/doc/src/richtext.qdoc | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/gui/doc/src/richtext.qdoc b/src/gui/doc/src/richtext.qdoc index f3bbcaf5bb..a0f739d418 100644 --- a/src/gui/doc/src/richtext.qdoc +++ b/src/gui/doc/src/richtext.qdoc @@ -975,14 +975,12 @@ \li \row \li \c meta \li Meta-information - \li If a text encoding is specified using the \c{meta} tag, - it is picked up by Qt::codecForHtml(). - Likewise, if an encoding is specified to - QTextDocument::toHtml(), the encoding is stored using - a \c meta tag, for example: - - \snippet code/doc_src_richtext.qdoc 7 - + \li If a text encoding is specified using the \c{meta} + tag, it is picked up by Qt::codecForHtml(). Likewise, + if an encoding is specified to QTextDocument::toHtml(), + the encoding is stored using a \c meta tag, for + example: + \c {} \row \li \c li \li List item \li -- cgit v1.2.3