Funny spinner

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Funny spinner

KlausK-2
hi there,

I watched a funny behavior of the SpinnerPresenter. If I put it directly
into my view the directions of increase and decrease are twisted.
I took the "a ReferenceView(16r1092E, 'etMenge', SpinnerPresenter.Default
view)" out of the "SpinnerTest" taken from the IDB Goodies. This one works
as it should.

Any idea?

Klaus


Reply | Threaded
Open this post in threaded view
|

Re: Funny spinner

Ian Bartholomew-21
Klaus,

> I watched a funny behavior of the SpinnerPresenter. If I put it directly
> into my view the directions of increase and decrease are twisted.
[]
 > Any idea?

It's a long, long time since I looked at this but on checking the
package it appears that the Interval has to go from positive to negative
to get the expected operation.  Have a look at
SpinnerPresenter>>onViewOpened:. it includes

spinPresenter view range: (16r7FFFFFFF to: -16r7FFFFFFF).

If you haven't used a SpinnerPresenter, just a Spinner, than that might
make a difference as the default range is 0 to: 100.


FWIW, the goodie has been removed for Dolphin6; it has it's own
SpinButton class.


--
Ian

Use the Reply-To address to contact me.
Mail sent to the From address is ignored.


Reply | Threaded
Open this post in threaded view
|

Re: Funny spinner

KlausK-2
In reply to this post by KlausK-2
Thanks for the reply.

I am looking forward to version 6!

Cheers
Klaus


Reply | Threaded
Open this post in threaded view
|

Re: Funny spinner

KlausK-2
In reply to this post by KlausK-2
Thanks for the reply.

I am looking forward to version 6!

Cheers
Klaus