Skip to content
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

Add "do not print if zero" option to spin and doublespin items #109

Open
jeromecc opened this issue Sep 29, 2017 · 1 comment
Open

Add "do not print if zero" option to spin and doublespin items #109

jeromecc opened this issue Sep 29, 2017 · 1 comment
Assignees

Comments

@jeromecc
Copy link
Contributor

If the int or double value is equal 0, do not print the item.

@jeromecc jeromecc self-assigned this Sep 29, 2017
@jeromecc
Copy link
Contributor Author

jeromecc commented Nov 1, 2017

Instead of using 0 which can be an informative value, we will use "special-value text" to display an empty set symbol when the value is set to minimum.
Minimum will be 0 if the real world value can never be 0, or the nearest (single step) negative value.
For instance, for int, "minimum" could be 0 or -1.
It will be the equivalent of "unset" or "no answer" and the (double) spinbox will not be printed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant