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

Use scientific notification for Labeled sliders values for big/small values #224

Open
Czaki opened this issue Dec 9, 2023 · 2 comments · May be fixed by #226
Open

Use scientific notification for Labeled sliders values for big/small values #224

Czaki opened this issue Dec 9, 2023 · 2 comments · May be fixed by #226
Labels
enhancement New feature or request

Comments

@Czaki
Copy link
Contributor

Czaki commented Dec 9, 2023

In napari/napari#6522 napari got information that for really small numbers the the labels are unreadable:

obraz

The author of Issue suggests that maybe replacing use of scientific notation for representing small values. It may be also useful for large numbers.

This may be not so trivial as it will require to re implement SliderLabel that may require to use QLabel as base class.

class SliderLabel(QDoubleSpinBox):

What did you think?

@Czaki Czaki added the enhancement New feature or request label Dec 9, 2023
@tlambert03
Copy link
Member

yep, i agree it would be way better than the current display!

@jiban
Copy link

jiban commented Mar 27, 2024

Cool!
I really like this feature to be implemented.
I believe implementing scientific notation in labels for double sliders would be highly beneficial, especially in scientific applications. This enhancement would improve usability and precision for users who work with large or small numerical values.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

3 participants