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

Sliders are not presented when the screen size is small #50

Open
eyalk11 opened this issue Jan 2, 2022 · 3 comments
Open

Sliders are not presented when the screen size is small #50

eyalk11 opened this issue Jan 2, 2022 · 3 comments

Comments

@eyalk11
Copy link

eyalk11 commented Jan 2, 2022

Describe the bug
The range sliders are not displayed sometimes and sometimes they do.

That is really a matter of proper width and height . I am not sure..

To Reproduce
This is not minimal, I admit.

pip install --no-binary :all: git+https://github.com/eyalk11/compare-my-stocks
python -m compare_my_stocks 

Try on big screen , and on small, you wont.
Also, I tried resizing the window to smaller size(can't repaint), and increasing it and they disappeared.

Given the same code, on a 21' screen it worked , and on 14' it didn't.

Screenshots
Screenshots and GIFS are much appreciated when reporting visual bugs.
image

Following resize

image

Desktop (please complete the following information):

  • OS with version Windows 10
  • Qt Backend PySide6.2.0 (last time I checked PySide 6.2.1.1 failed )
  • Python version 3.9.6
@tlambert03
Copy link
Member

thanks for the report @eyalk11. will try to have a look soon.
(note, the 6.2.1.1 bug is now fixed as of #51)

@eyalk11
Copy link
Author

eyalk11 commented Jan 12, 2022

I corrected the sizes a bit and it doesn't happen anymore.
There are two other bugs in this screenshot. The handles' values are behind the form's labels. and the handles are not the right shape.

@tlambert03
Copy link
Member

yes, proper scaling on windows has generally been difficult, it seems to vary from PC to PC, depending on screen scaling and resolution. it's not something I have particular expertise in, so welcome anyone who does to weigh in

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

No branches or pull requests

2 participants