talton at gmail.com
Mon Nov 12 21:53:26 EST 2007
I am wanting a SpinButton that allows high precision numbers to be entered
by keyboard but only shows the number of decimal digits needed for the
precision. If it is a whole number, I don't want to show any decimal
The SpinButton has a Digits property but if it is set to 0, you can't enter
any decimal digits from the keyboard. I also found that the SpinButton
sometimes rounds the SpinButton.Value when displaying it.
I wrote a inherited SpinButton that seems to solve 99% of the issues, but I
am not wild about the solution. Is there something I am missing? Anyone
else have any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list