[PD] getting vslider to fit in a GOP dynamically?

adam johnson ulioidle at gmail.com
Sun Jan 24 19:15:18 CET 2021


Sliders are 5pixels taller (wider for h-sliders) for what I assume is
aesthetic reasons. Just add 5 to canvas y-size and you are good to go.

On Sun, Jan 24, 2021 at 11:44 PM Alexandre Torres Porres <porres at gmail.com>
wrote:

> hi there, trying to create GOPs with dynamic sizes, but it seems the size
> f [vsl] doesn't correspond to the right canvas size in pixels.
>
> Is there a way for me to know which height size I need the slider to be in
> order to fit ?
>
> For reference, here's both a graph and a slider with width 25 and height
> of 100, see they mismatch and the slider is higher
>
> [image: Screen Shot 2021-01-24 at 20.40.23.png]
>
> cheers
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210124/f3c46b99/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-01-24 at 20.40.23.png
Type: image/png
Size: 108271 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210124/f3c46b99/attachment-0001.png>


More information about the Pd-list mailing list