On Thursday, December 18, 2003, at 05:27 PM, James McCartney wrote:
That still isn't what I'd like. I'd like it to dynamically resize as the window resizes.
How do you this anyway resize the views when the window resizes?
Also fitThumbSize would still have each thumb the same size, which looks best, but will not fill the view if the view width is not an integer multiple of the number of values.I'd either let the thumb size or the gap size jitter by a pixel.
fitThimbSize might cut the last thumb as well.I mostly use the MultiSlider as a table, which is most of the cases so large that it doesn't fit in the view at all...
On Dec 18, 2003, at 8:17 AM, Jan Trutzschler v.F. wrote:we could add a method that does it. like fitThumbSize{ var thumbsize, size; size = this.value.size; thumbsize = ((this.bounds.width - (size * gap))/size).round(1.0); if(thumbsize < 1.0){thumbsize=1}; this.indexThumbSize_(thumbsize); }-- james mccartney http://www.audiosynth.com _______________________________________________ sc-dev mailing list sc-dev@xxxxxxxxxxxxxxx http://www.create.ucsb.edu/mailman/listinfo/sc-dev