-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Floating Point Spinbox #201
Comments
The underlying Windows control (UPDOWN_CLASSW) that Unix and Darwin controls do support this though, and we enforce integer only just for compatibility with Windows. |
Ah okay. Seems like this would be a good thing to put in the spinbox documentation in case people are looking for one that does floats. Is there a way to implement a custom widget that does this? For now I'll fall back to using a uiEntry and parse the values in my own code. |
It does seem like a custom control would be possible using the win32 API by overriding some of the handlers as suggested here and here. So it does look like writing a uiSpinboxDouble would be possible, Windows being the only cumbersome undertaking. |
I have need for a numerical input, like a spinbox, but for floating point numbers. I've seen this in wxWidgets, they call it a DoubleSpinBox.
The text was updated successfully, but these errors were encountered: