[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] MultiSlider issues

That still isn't what I'd like.
I'd like it to dynamically resize as 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.

On Dec 18, 2003, at 8:17 AM, Jan Trutzschler v.F. wrote:

we could add a method that does it. like

		var thumbsize, size;
		size = this.value.size;
		thumbsize = ((this.bounds.width - (size * gap))/size).round(1.0);
		if(thumbsize < 1.0){thumbsize=1};

james mccartney