On Mon, 11 Apr 2011 10:34:46 +0000 (GMT) SUMANTH KRISHNA MANNAM
<sumant...@samsung.com> said:

you intend to write a printf format parser just for this case? (well ok you
only have to handle "%[something]f" as thats all slider defines that it
wants/needs).

> 
> 
>    Hi,
>       Elementary slider widget shows the indicator text based on the format
> set by the user.
>    If the user chooses to limit the precision by having a format specifier
> with less precision, say %1.0f and the value of the slider is -0.001 then
> after applying this format specifier, we get the indicator value displayed as
> -0. Similarly if we have the format specifier as %1.1f, then this value will
> be -0.0.
>    In my opinion, showing "-0" as the current slider value does not look good,
>    so I propose to change this value to 0 and or 0.0 respectively for the
> above mentioned examples by parsing the string generated after using snprintf
> in _indicator_set().
>    Please let me know your opinion if this is the right approach.
> 
>    Thanks.
>    Regards,
>    Sumanth
> 
> 
> 
>    [cid:BEI0XT4NZ5JE@namo.co.kr]
> 
>    [SeenTimeChecker?
> do=c43e6b88cbde39cd78ae26ec204e8a9303a1ef4c985630f0381f05fc
> ee592f152fe50af216eefd44d1b17ce7cdd50431f1bc9e894f4f495bed2705d6268c6898dd8a
> aa5ed8b0e8e4326bbdfb2ea96a2fcf878f9a26ce15a0]


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to