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

Anna Kratochvílová kratochanna at gmail.com
Thu Mar 21 12:53:08 PDT 2013


On Thu, Mar 21, 2013 at 1:11 PM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> 2013/3/21 Markus Metz <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.
>

Because we don't know the meaningful number of digits, I agree to use
text input. Changing the float spin might be too much work and I think
it is not worth it. I have changed it in r55484.

Anna


More information about the grass-dev mailing list