Thread
:
Tutorial: Building a GUI in Lua.
View Single Post
05-12-2016, 04:17 AM
#
22
Lokasenna
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
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
View Public Profile
Send a private message to Lokasenna
Visit Lokasenna's homepage!
Find More Posts by Lokasenna