Document max size for QFont::setPixelSize

Pick-to: 6.5 6.4 6.2
Fixes: QTBUG-102989
Change-Id: I9a63a2ab8ac6eadf1b5a5865a0a084700d9e85d2
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
Paul Wicking 2022-12-14 10:12:33 +01:00
parent 509fd9f2bb
commit 8165750af8

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