There seems to be a value limit of 32767 for sliders. Does anyone know
I'm really after a real-valued slider, which I was approximating with an
int slider with inflated values. Does anyone have a real-valued slider?
From: Patrick Scheibe <mai99dnn@st...> - 2005-05-10 09:41:24
Hmm, I think you should think about it again. Let us assume you have a slider
having the same width like your screen. The smallest step you are able to do
is exactly one pixel on the screen. To reach every single value of a int
slider that is over your screen you have to have a screen size of 32767
You should use a int slider and calculate your float values. With a slider of
100 pixels you will never have more than 100 discrete steps. Even when you
would have a real-valued slider you would only be able to reach a few
What are you trying to do?
On Tuesday 10 May 2005 04:56, Conal Elliott wrote:
> There seems to be a value limit of 32767 for sliders. Does anyone know
> a work-around?
> I'm really after a real-valued slider, which I was approximating with an
> int slider with inflated values. Does anyone have a real-valued slider?
> - Conal
Get latest updates about Open Source Projects, Conferences and News.