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

increment field in Slider widget not working #885

Open
mflova opened this issue Jun 30, 2023 · 3 comments
Open

increment field in Slider widget not working #885

mflova opened this issue Jun 30, 2023 · 3 comments

Comments

@mflova
Copy link

mflova commented Jun 30, 2023

Using the gooey 1.0.81 , windows 10.

The increment feature does not change anything. It is always shifting by 1. I can see that there are some differences between the code and the docs:

  • README.md increment field seems to be defined for widget=Slider
  • When I go to the source code, I do not find any reference to increment keyword in Slider

Minimal example that reproduces the bug:

import argparse
from gooey import Gooey, GooeyParser

@Gooey
def main():
    parser = GooeyParser(description="Gooey Example with Slider")
    parser.add_argument("slider_value", widget="Slider", help="Select a value", gooey_options={"min": 0, "max": 100, "increment": 20})
    
    args = parser.parse_args()
    print("The selected value is:", args.slider_value)

if __name__ == '__main__':
    main()
@RyanBin0126
Copy link

I have the same problem. Have you solved it?

@mflova
Copy link
Author

mflova commented Oct 13, 2023

I have the same problem. Have you solved it?

No. Not any news regarding this topic

@SarthakNikhal
Copy link

Can I work on this issue?

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

No branches or pull requests

3 participants