ysfx icon indicating copy to clipboard operation
ysfx copied to clipboard

small GUI with the ConsoleMeter from Tukan

Open xhub opened this issue 3 years ago • 4 comments

First of all, thanks a lot for your work on this. It's amazing!

When opening the ConsoleMeter plugin from https://github.com/TukanStudios/TUKAN_STUDIOS_PLUGINS in ysfx, the display is very small, see below ysfx-GUI-small Changing the windows size does not influence the size.

Within Reaper, making the window bigger scales the displayed part ysfx-GUI-reaper

This is with the current master on linux (Gentoo).

xhub avatar Aug 05 '22 09:08 xhub

Hi, indeed, the resized editor window does not currently modify the size of the jsfx graphics area. Reaper would modify the values of gfx_w, gfx_h to match the view size.

Ysfx would assume a graphics area to be fixed size or programmatically-sized; and on resize, just recenters the gfx view into the editor. This behavior is implemented in YsfxEditor::Impl::relayoutUI.

Will fix when I have a bit of time.

jpcima avatar Aug 05 '22 11:08 jpcima

Thanks for your quick reply. I tried to scale it by having gfx_{h,w} set to better value, but it's more involved than that and hence above my limited understanding of jsfx. Looking forward to your changes.

xhub avatar Aug 05 '22 14:08 xhub

If you would like to edit the script, check near @gfx where default width and height are defined @gfx 190 88

jpcima avatar Aug 05 '22 14:08 jpcima

Thanks, setting it to @gfx 800 200 provides a good workaround

xhub avatar Aug 05 '22 14:08 xhub