-
Notifications
You must be signed in to change notification settings - Fork 31
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
Napari UI: Widgets too wide yet don't have enough space for numbers to show #213
Comments
Hi @tlambert03, I need your help again! I am aiming to adjust the font size via label styling for the |
fwiw, this really is a napari issue, and not something that you should be having to worry about. The issue is that napari doesn't do a great job of detecting display scaling (because it's a legitimately hard thing to do). is it safe to assume you're on windows? that's really where this will show up the most. One warning: if you try to fix this by hard-setting a font size based on what you see on your monitor, it's very likely that you'll be ruining it for another monitor (like a linux/macos system for which display scaling is better detected by Qt), so I'd encourage you to try to test whatever fix you come up with on different OSes that said... to just adjust the font size, did you already try |
I'm running this through VNC on a Linux server, with displays eventually outputting to Windows/macOS machines at work/home. It seems that changing the font size doesn't have any effect, possibly due to the lack of a defined screen resolution, and I've configured the VNC to adjust interface window size responsively. Given these circumstances, I think it's best to leave this issue as is. I'll mark it as "won't fix" for now. Your assistance has been invaluable—otherwise I would spend days trying to tweak Qt styling : ) Thank you so much! |
if i make a simple example of creating a QLabeledSlider and calling |
Ohhh, thanks @tlambert03! The stylesheet you provided is perfect. Initially, I was using |
The text was updated successfully, but these errors were encountered: