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

wip: demo for menu spinbox in datalogger menu #1826

Closed
wants to merge 3 commits into from

Conversation

IonutMuthi
Copy link
Contributor

This is an rework on current menu spinbox
the main issues this fixes are :

  • allowing custom prefix scales ( replacing setScaleRange)
  • allowing custom scales
  • option to have scales with no prefix
  • fixed some issues with user input
    • if wrong value is introduces reset to previous value
    • introducing a number value followed by random text will not update scale to the value
  • automatic upscale and downscale updates
    • will no longer scale down on value 10
    • updated decrement result to consider scale down option ( scale up on increment was automatically done )
  • having scaling disabled will not scale values

Signed-off-by: IonutMuthi <[email protected]>
disable / enable + - buttons at max / min values

Signed-off-by: IonutMuthi <[email protected]>
@IonutMuthi IonutMuthi closed this Nov 20, 2024
@IonutMuthi IonutMuthi deleted the test_menu_spinbox branch November 20, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant