View Single Post
Old 05-12-2016, 04:17 AM   #22
Human being with feelings
Lokasenna's Avatar
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,029

So you want to draw a rectangle at x,y,w,h and have the text automatically sized to fit? The best solution I can think of would be a loop to adjust the font size:

Deleted because it didn't work properly. See two posts down.

Last edited by Lokasenna; 05-12-2016 at 07:29 PM.
Lokasenna is online now   Reply With Quote