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

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:

Code:
Deleted because it didn't work properly. See two posts down.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate

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