GLUI_Spinner Scientific Notation troubles

Hi all,

I’ve got some trouble with using GLUI_Spinner. If you don’t know what that is, it’s a GLUI object for an openGL program that makes a little box with a number and up and down arrows to tweak the number. They work fine, but I’m having trouble reading the values in the box, since it cuts of the exponent.

For example, I give an initial value of

5e-20,

but in the spinner box it shows up as

5.00000e- (exponent cut off)

I just need the text box to be a bit longer to fix this. Can anyone with GLUI experience help?