[GRASS-dev] wxGUI spin control for floating point ???

Michael Barton Michael.Barton at asu.edu
Thu Mar 21 10:11:06 PDT 2013

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.

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

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

On Mar 21, 2013, at 5:12 AM, <grass-dev-request at lists.osgeo.org<mailto:grass-dev-request at lists.osgeo.org>>

From: Martin Landa <landa.martin at gmail.com<mailto:landa.martin at 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 at gmail.com<mailto:markus.metz.giswork at gmail.com>>
Cc: GRASS developers list <grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>>


2013/3/21 Markus Metz <markus.metz.giswork at gmail.com<mailto:markus.metz.giswork at 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 Landa <landa.martin gmail.com<http://gmail.com/>> * http://geo.fsv.cvut.cz/~landa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130321/6c74748c/attachment-0001.html>

More information about the grass-dev mailing list