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

Menu Bar Rendering Wrong #40

Open
zm711 opened this issue Mar 6, 2023 · 3 comments
Open

Menu Bar Rendering Wrong #40

zm711 opened this issue Mar 6, 2023 · 3 comments

Comments

@zm711
Copy link
Contributor

zm711 commented Mar 6, 2023

@samuelgarcia
Howdy Samuel,
While testing the installation_tips from spikeinterface for windows and Mac, both had a rendering issue with the menus for the gui:
I'm happy to try to fix this, but to be honest I don't know much about Qt stuff. I saw in your code that you were thinking about setting stylesheets in mainwindow.py so maybe that would help and if you're working on other stuff I could play around with that.

I've attached the rendering issue below.

image

@samuelgarcia
Copy link
Member

Hi Zach,
you are aexploring all spikeinertface zone!!! thank you.

Having button in dock bar is a bit hackish in QT.
In sigui, this happen here https://github.com/SpikeInterface/spikeinterface-gui/blob/main/spikeinterface_gui/mainwindow.py#L114

I guess that we have to play with the bar/button size or reduce the police size but I have to admit that I did not fitgh too much on this.
If you have time, this is nice but do not spend too much on this!

@alejoe91
Copy link
Member

@zm711 is this fixed?

@zm711
Copy link
Contributor Author

zm711 commented Jan 29, 2025

No, it has to do with high res screens (like on mac laptops). We need to come up with a hack that determines higher res vs lower res screens to handle this, but since I don't know qt at all I haven't really tried messing with this too much.

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