Login  Register

addSlider question

Posted by Xavier Colomé on Dec 01, 2014; 4:54pm
URL: http://imagej.273.s1.nabble.com/addSlider-question-tp5010711.html

Hello, I'm testing with dialogs and I want to create three sliders that
interact with each other. The sum of the three slider must total 100%. By
example:

X [----*-----] [5]
Y [--*-------] [3]
Z [-*--------] [2]

By example, if I move one of te three slider to 100% then we can not move
the other two slider above 0%

By example, this is a not permited configuration:

X [---*------] [4]
Y [------*---] [7]
Z [-*--------] [2]

Is it possible?

Thank you so much.

Best regards.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html