The odd behavior is that it only happens around the “original value”. Lets say you set the value on 25 with increments of 1. If you press the up arrow it will go: 25, 26, 27, 28, etc… But if you press the down arrow it will go: 25, 26 , 25 , 24,23,22, etc.
Another odd thing is that it repeats its behavior every time you go through 25. For example, if you start on 25, and press the up arrow until you reach 28 and then go down, it will go: 28, 27, 26, 25, 26, 25, 24, 23, 22, etc.
It doesn’t matter the increment of the arrow and/or the initial value. If you start on 10, with 0.2 increments, it will go: 10, 10.2, 10, 9.8, 9.6, etc.
I’ve also noticed that either reaching the max_val or min_val, or doing a “press and hold” on the arrow (so it will increase the value faster) makes the FloatSpin work as it should.
I really think that this is GTK related, but in any case if you have a clue on how could I workaround this, would be really helpful.
Best Regards,
···
On Thursday, March 29, 2012 5:17:32 PM UTC-3, Juampy wrote:
Hi Andrea,
I know this thread have quite some time, but I stomped into this now. Is there any workaround to have it working on GTK?
By the way, thanks for such great job on the AGW library.
Regards,
On Tuesday, June 2, 2009 11:22:43 PM UTC-3, Carlos Grohmann wrote:
Hello all,
I’m using Andrea’s FloatSpin in an app, and it works fine but there is
one small issue: if I set the initial value to, say, 3.5 (with steps
of 0.5), and the first thing I do when I run the pregram is to
decrease that value, it will go from 3.5 to 4.0, then 3.5 and then
finally 3.0. If I run the program and try to increase the values,it’s
all good. Any hints?
cheers