Document max size for QFont::setPixelSize

Fixes: QTBUG-102989
Change-Id: I9a63a2ab8ac6eadf1b5a5865a0a084700d9e85d2
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit 8165750af85e324055b89f69d2e359e40f043bfc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Paul Wicking 2022-12-14 10:12:33 +01:00 committed by Qt Cherry-pick Bot
parent c8d46f7926
commit 8436864744

View File

@ -1013,7 +1013,8 @@ qreal QFont::pointSizeF() const
} }
/*! /*!
Sets the font size to \a pixelSize pixels. Sets the font size to \a pixelSize pixels, with a maxiumum size
of an unsigned 16-bit integer.
Using this function makes the font device dependent. Use Using this function makes the font device dependent. Use
setPointSize() or setPointSizeF() to set the size of the font setPointSize() or setPointSizeF() to set the size of the font