Closed mBilG closed 2 years ago
Thanks for reporting the issue. Can you send me a screenshot and the name of your theme? I tested it on Pop theme, Materia theme, Orchis theme and the White Sur theme but the issue didn't exist.
Hi, I figured out the issue and commited the fix.
To apply the fix you can use this command,
cd ~/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/ && curl -OL https://raw.githubusercontent.com/cliffniff/media-controls/main/player.js
I'm currently using Fluent_compact theme by Vinceliuice. I set my panel size to 26 px. The icons appear bigger now, but still tiny compared to other icons (and previous version)
This is before applying fix:
This is after fix mentioned above:
This is from v14:
Maybe you need to remove top and bottom paddings/margins and let the theme control that?
Maybe you need to remove top and bottom paddings/margins and let the theme control that?
Yes, that's what I did. In v14, all the elements were on the panel on their own. Now they are in a separate container. I'll find a workaround for this.
I installed the theme and tested it on my machine and it shows the icons fine.
I found a fix:
I use this for the buttons' style:
style: "padding: 0px 2px; margin: 0px 2px;"
Here's the result:
I think it is a issue specific to the theme. The weird thing is it looks fine in the same theme when I installed it.
Yes, that's what I did. In v14, all the elements were on the panel on their own. Now they are in a separate container. I'll find a workaround for this.
Maybe the padding/margin of the container also needs to be adjusted?
I think it is a issue specific to the theme. The weird thing is it looks fine in the same theme when I installed it.
I also noticed that the player icon has the same bug. I don't usually use the icon though, so i disabled it.
Just tested, I think the issue is caused when using "Just perfection" extension and setting my panel size to lower than 30px.
Panel 26px:
Panel 32px:
Fixed the bug properly. Rerun the command cd ~/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/ && curl -OL https://raw.githubusercontent.com/cliffniff/media-controls/main/player.js && curl -OL https://raw.githubusercontent.com/cliffniff/media-controls/main/stylesheet.css
to apply it. Thanks for reporting!
Edit: Updated the command.
Excellent.. Works like a charm.. Thanks for your help and for the great extension.. keep it up..
Thanks for the amazing extension.
Just updated to the latest version (17). Noticed 2 issues with padding (issue not present in previous version):
I'm using a different shell theme. However, even if i change to adwaita, the buttons still appear smaller than the rest of the icons.