<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>someone should know a more detailed explanation, but it seems
that the center of the slider knob is the reference for the
height. The canvas around it is extra, and it's always the same
amount of pixels independently on the overall height value. You
can play around a bit to find out the canvas size offset, it will
always be the same; you'll also need to know for the position
offset.</p>
<p>(it would be possible to create new slider guis using data
structures, but it's not very efficient)<br>
</p>
<div class="moz-cite-prefix"><br>
</div>
<blockquote type="cite"
cite="mid:CAEAsFmjX-TpEdtKoqqHZcZ_Dy2D_88HEiSAD=L=MohG8nzLWuw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">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.
<div><br>
</div>
<div>Is there a way for me to know which height size I need the
slider to be in order to fit ?</div>
<div><br>
</div>
<div>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</div>
<div><br>
</div>
<div><img src="cid:part1.9BD3185D.85706CF6@gmail.com"
alt="Screen Shot 2021-01-24 at 20.40.23.png" class=""
width="511" height="195"><br>
</div>
<div><br>
</div>
<div>cheers</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Manteuffelstr. 19
10997 Berlin (Deutschland)
Tel +49 30 74921288 | Mob +49 176 98476769
<a class="moz-txt-link-abbreviated" href="mailto:jmmmpais@gmail.com">jmmmpais@gmail.com</a> | skype: jmmmpjmmmp
<a class="moz-txt-link-freetext" href="https://www.facebook.com/jmmmpais">https://www.facebook.com/jmmmpais</a></pre>
</body>
</html>