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@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list