Moon-0xff / gnome-mpris-label

A music related GNOME extension.
GNU General Public License v3.0
50 stars 10 forks source link

Allow to increase album size to fill panel height #65

Closed Batwam closed 1 year ago

Batwam commented 1 year ago

We currently have a BoxLayout which doesn't extend to the full height of the panel + an icon within it which also doesn't extend all the way to the border of the Box either so it's padding on padding, making the available space for album covers pretty small: Screenshot from 2023-06-12 22-18-29

I decided to play around a bit with borders and padding to see if there was a way to maximise the icon size to possible fully utilise Main.panel.height. Turns out it's possible: image

The screenshot above is to show how much extra height is being accessed but it looks better without the button focus and even better when activating panel transparency.

Not necessarily something to set a default but I think that it would be good to allow the user to set the icon to reach the full height if he/she wishes to do so? for into, the icon above is set at 125%.

It might also be possible to round corners if that's neater (I haven't tried yet).s

Moon-0xff commented 1 year ago

I have no comments for this one. Great find!