Re: [gtk-list] RE: SpinButton with float value



Stefan Jeske wrote:

> The spin button currently has some problems dealing with very large / small
> floats, so I don't think FLT_MIN / FLT_MAX is a good idea. ;)

 What I really needed was DBL_MIN - DBL_MAX...

> But your special problem should be solved by :
>    gtk_spin_button_set_update_policy (spin_button, GTK_UPDATE_ALWAYS);

 Now it's working, but the 3 fixed digits to the right of the decimal
dot is not what I need. Is there any way to make it display decimals
only when needed?

 Thanks.
 Angel.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]