V17 | Padding Issue
mBilG opened this issue · 10 comments
Thanks for the amazing extension.
Just updated to the latest version (17).
Noticed 2 issues with padding (issue not present in previous version):
- Player icons are too small (probably due to larger padding).
- Title appears to be bottom-aligned: text gets cut-off when letters go below the line (g/y/q/p etc).
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.
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 after fix mentioned above:
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 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.
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..