[Glade-users] 2-digit fractional part limit on Adjustment's upper/lower bounds

Tadej Borovšak tadeboro at gmail.com
Thu Feb 25 05:32:27 EST 2010


Hi.

>> Is there a way to overcome this?  (I mean in Glade and not via additional code)
>
> I think this is (currently) not possible to fix from Glade, since it
> looks like spin buttons have hardcoded precision (I'll check my
> assumption ASAP).

My assumptions were correct: spin button has fixed number of decimal
places. For integer properties, digits are set to 0; floating point
properties have 2 decimal places.[1]

Tadej


[1] http://git.gnome.org/browse/glade3/tree/gladeui/glade-editor-property.c#n738

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro at gmail.com
tadej.borovsak at gmail.com


More information about the Glade-users mailing list