Qt 6.11 is out! See what's new in the release
blog
QPainter.drawText() - where painter finished drawing text
-
Hi,
You can pass the exact rectangle where you want your text written. Isn't it enough for your purpose ?
-
@BartoszT said in QPainter.drawText() - where painter finished drawing text:
Is there any way to calculate pixel text width?
Seee QFontMetrics