I agree that spinner can be nice in some situations, but are more of a pain in others, and can even decrease functionality because they limit the precision and range of values that can be entered into a control (sometimes good and sometimes not). Nothing wrong with typing a number if great flexibility is needed.
Michael
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
www: http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton
On Mar 21, 2013, at 5:12 AM, <grass-dev-request@lists.osgeo.org>
wrote:
From: Martin Landa <landa.martin@gmail.com>
Subject: Re: [GRASS-dev] wxGUI spin control for floating point ???
Date: March 21, 2013 5:11:59 AM MST
To: Markus Metz <markus.metz.giswork@gmail.com>
Cc: GRASS developers list <grass-dev@lists.osgeo.org>
Hi,
2013/3/21 Markus Metz <markus.metz.giswork@gmail.com>:
What is the reason to have a spin control for floating point values?
Could the spin control at least not use the number but the significant
digits (same like printing with %g) for spinning? E.g. for 0.00000001
I see 0.000 which is wrong. IMHO the spin control should be reverted
to text input.sometimes float spin controls are useful sometimes not. Useful eg.
d.vect size
, but not for the case you mentioned. Probably we could
stay with floating spin control (some improvements required) rather
than plain text input. No strong opinion here.Martin
–
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa