ismailof / mediacontroller_plus

Modified version of mediacontroller plasma5 widget
GNU General Public License v2.0
30 stars 11 forks source link

[Request] Re-enable option to display artist & title on 2 lines #12

Closed GLLM closed 3 years ago

GLLM commented 4 years ago

Hello @ismailof !

first, thanks for this great widget. I use it in my KDE taskbar, and it's really cool !

I have one request tho, I know that in #9, you removed the 2-line display, but I would be very happy to get it back. Indeed, I have a 27" 2160p monitor, and though I set trhe width of the display to 468px, I cannot see half of neither the artist, nor the track title.

See image

It'd be great if

And the usual : image

Many thanks, GLLM

ismailof commented 4 years ago

Hi there, sorry for being idle so long and thank you for your issue.

I've been giving it a though, since the current situation is not ideal as you're screenshot shows. I don't consider going back to two lines on a thin panel, since it was fairly impossible to make it look nice, but I'll see into implement an optional "marquee" (scrolling) when the title exceeds the widget's width.

GLLM commented 4 years ago

Hi @ismailof

No pb ... a scrollee would be fine as well ... if it can be overriden with the mouse it'd be even better :)

thanks

MurzNN commented 3 years ago

image Here is screenshot of Media Player Compact widget (at right), that have two lines in 32px height of panel, comparing with Media Controller Plus at left side.

ismailof commented 3 years ago

Ok, I'm guessing they use some negative margins to go into the zone the panel reserves for itself. I'll take a look and maybe add it as an option

ismailof commented 3 years ago

I've been reworking the layout to present two lines and album art on smaller panel sizes. panelSize32px

The limit is now on 32px, but visuals with 30px or less are also better. panelSize30px

I hope this is enough at the moment for your needs :smiley:

Reonaydo commented 2 years ago

There is still no multiline and Media Player Compact widget looks better. Why do You not want to make this as in Media Player Compact ?

ismailof commented 2 years ago

I'm almost sure that on latest versions, there should be two lines automatically for panel heights over 28px (the exact value depends on the system's font selected), even when that meant some custom code to ignore panel margins. I'll have to check it out again.

mattiusclay commented 10 months ago

It'd be amazing you could make the above "28px" a setting we can change, or even better would be to add padding above/below the widget, as on my panel of .... 38px, the song title almost hits the top of the box.