RomanKubiak / ctrlr

Ctrlr
BSD 3-Clause "New" or "Revised" License
523 stars 61 forks source link

uiImageSlider #430

Open tangram921 opened 2 years ago

tangram921 commented 2 years ago

I have a uiImagSlider with the values from -24 to +12. As uiImageSliderResource I have a 37 images strip. From slider value -19 (Picture3) my image disappears and I can turn the slider to +12, then my image is visible but not at the top (Picture4). How do I have to enter the values correctly and where so that it works? With a uiSlider this is no problem. Greetings tangram

grafik

DRBAUS commented 2 years ago

Were you able to fix this yet?

tangram921 commented 2 years ago

Hello, I took the wrong slider. After I took a UIFixedImageSlider and entered the correct values in the Slider Contents field, everything works as it should. One more question: will the programme be developed further? Thank you very much for asking. Greetings tangram

dobo365 commented 2 years ago

FYI... uiFixedImageSlider is when you need different values than the slider values and thus you have to enter them in the Slider Contents property I'm using all the time uiImageSlider but they must start at 0 (you can retry). I'm not displaying the value with the property but by using a Lua method doing the necessary calculation and display in a uiLabel. Using that way you can display anything. Maybe for your next panel ;-)