Tk::Scale issue

Brian Jackson <[email protected]> Thu, 17 Aug 2006 16:55:36 -0700
Newsgroups gmane.comp.lang.perl.tk
Organization Action Athletics
Message-ID <[email protected]>
Hello-

I'm migrating one of my apps to Tk 804.027 and having an issue with less 
than 1, but greater than 0 values for my Scale widgets.

Works just fine in Tk 800.024
$gamma=$buttons->Scale(-orient=>'horizontal',
                           -from=>3.0, -to=>0.5,
                           -resolution=>0.1,
                           -digits=>2,
                           -variable=>\$imgs->{$img_loc}{gamma},
                          )->pack(-side=>'left');

but fails in Tk 804.027  :(

What happens is in 804.027, when you click on the slider, it drops the 
entire slider to the lowest value and you can't slide it anymore.

I tried removing the -digits parameter, the slider doesn't even move.
I removed the -resolution parameter, it drop s to the lowest value and 
locks the slider.
When I remove both -digits and -resolution, it worked, but doesn't do 
what I want it to.  Doesn't give me the granularity that I require.

The man page for Tk::Scale is of ZERO help as it's the same for both 
verions.

Finding examples online hasn't really proved fruitful.

Anyone have any ideas?

Thanks,
brian

-- 
Brian Jackson
Action Athletics Sports Photography
[email protected]
http://www.ActionAthletics.com/
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk