At least, I knew enough to get stuck on was why it was necessary to do this...
float midValue = mySlider.minimumValue + ((mySlider.maximumValue - mySlider.minimumValue) / 2.0f);
mySlider.value = midValue;
...to set the Slider at the halfway point at startup. I dunno, it seemed redundant not to take the Maximum Value and just, you know, divide it in half. But then I started plugging in other combinations of numbers, and it all began to make sense as a more foolproof method of arriving at the middle.
I tinkered with the Interface Elements, too, changing sizes and colors and elements, moving stuff around, and whatnot. I'm not sure why anyone would want to do most of what you're able to do — but it's early days yet.
No comments:
Post a Comment