View Single Post
Old 03-03-2019, 06:53 PM   #414
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Quote:
Originally Posted by tack View Post
There's devils in them there details.

The box system I implemented (which is inspired by gtk+'s hbox/vbox) was surprisingly challenging. Boxes which are sized only as much as needed to fit their children (shrink-wrapped); boxes that can be expanded to fit their parent containers; cells within boxes that can have different ratios in their consumption of available space; propagating that available space to child widgets or not, and if not then justifying the children within the cells; supporting all that in scrollable viewports. And then I further stacked the deck against myself by wanting to support dynamically-determined but fixed-position widgets (think position:fixed in CSS), which you can see in that red "Fixed position widget" in the video.
Nice. I'm adding a note to my idea list to look at your code for a potential "do all the resizing things" module.
__________________
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
Lokasenna is offline   Reply With Quote