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

Re: [sc-dev] MultiSlider issues

On Thursday, December 18, 2003, at 03:32 AM, James McCartney wrote:

I don't like how you have to bother with fiddling with the pixel counts so closely instead of having it just dynamically size the thumbs based on the number of values. Changing this would break code

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};