SpikeInterface / spikeinterface-gui

GUI for spikeinterface objects
MIT License
21 stars 7 forks source link

Menu Bar Rendering Wrong #40

Open zm711 opened 1 year ago

zm711 commented 1 year ago

@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 commented 1 year ago

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!