-
Notifications
You must be signed in to change notification settings - Fork 36
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
Button height in window list too large #275
Comments
The issue definitely coming from window-list. When there are no windows on the desktop and no buttons on window list the wf-panel looks ok. But with the first button appearing becomes ugly. |
For reasons I do not remember we do not allow size less than 24 pixels for window-list icons. If you can compile wf-panel from source, try changing the value 24 on this line here and see whether it helps you get smaller icons:
If it works for smaller values, I will just remove the lower limit because I don't remember why it is there in the first place, maybe it used to not work before but works now. |
by the looks of it I would guess that the problem is the spacing around the icons on the right (battery/network), can you try making them less big just to check whether this is the case. if yes I think you can adjust the margin size with css |
I think got how Mate do it |
You don't need to do that in C++, wf-panel can load user CSS from different files, see https://github.com/WayfireWM/wf-shell/wiki/Style:-overview You can launch the panel with GTK_DEBUG=interactive in order to inspect the ids and classes of the buttons and icons you are interested in. |
things work strange way there. So I made the theme with 0 padding, also activated small buttons in css. So when I do not use window-list plugin wf-shell gives same size as mate-panel. And - there are buttons on the panel. f.e. clock widget is a button when i click on it and it is stlll small button - like on mate-panel. Then I add window-list. Whrn window-list is empty - nothing happens, but when there appears first button - the panel immediately grows in height and buttons on window-list are painted with huge padding. So it is window-list that causes trouble. |
I have wf-panel on the bottom and mate-panel on the top. same font size - but mate panel looks compact and clean, while wf-panel ignores my minimal height and icon size options and makes huge high buttons in window list. It is not a question of theme - WCM paints buttons like mate panel does. So it is something how panel draws the buttons.
The text was updated successfully, but these errors were encountered: