Can't move the slider
« on: 13 October 2018, 16:17:38 »
Hi Everybody
I'm having problems with the slider widget. I can add it and it shows up just fine, but I can't actually use it in any way, it doesn't move when I click it.

I have tried setting the min, max, step, and value.

Using 0.8, 32bit, Visual Studio 2017

Thanks

*

texus

  • *****
  • 1279
    • View Profile
    • Texus's Blog
Re: Can't move the slider
« Reply #1 on: 13 October 2018, 16:23:20 »
Do other widgets work? If not then you forgot to call gui.handleEvent.
If other widgets do work then you should show some example code of what you are doing.

Re: Can't move the slider
« Reply #2 on: 13 October 2018, 18:15:11 »
Thanks for the feedback.
I turns out it was working. I just wasn't refreshing the display so it didn't redraw the slider in the new position (I assumed it would do that automatically).

Thanks for the great library!