Doc: Zooming inside QTextEdit

One can zoom in/out text inside a QTextEdit when the widget is
read-only or when using the zoomIn/zoomOut functions.

Zooming inside a HTML document only works if the font-style is not set
to a fixed size inside the document though. Adding this information
to the documentation.

Change-Id: I66a62da53827e1ce3241ba16b91e86926b97c297
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
This commit is contained in:
Caroline Chao 2013-04-24 10:48:06 +02:00 committed by The Qt Project
parent bf9ae9018e
commit 7375c06328

View File

@ -445,6 +445,8 @@ void QTextEditPrivate::_q_ensureVisible(const QRectF &_rect)
example, the documentTitle() function will return the text from
within HTML \c{<title>} tags.
\note Zooming into HTML documents only works if the font-size is not set to a fixed size.
\section1 Using QTextEdit as an Editor
All the information about using QTextEdit as a display widget also