Page 1 of 1

Text alignment issue in the widget

PostPosted: Fri Dec 13, 2013 3:21 am
by ali
The DSub widget is having some alignment issues.

Because the text is centered, it only displays the middle of the song name if the name is long:

Image

After some time, it automatically fixes this by aligning the song name to the left:

Image

But then if you change the song, the alignment completely breaks:

Image

A solution to this problem would be to just align the text to the left and place a [...] if it stretches past the area. Or you could make it scroll (like iTunes) but I'm not sure if that's something that can be done easily. Alternatively, you could just copy the Play Music widget (which the official Subsonic app does).

Re: Text alignment issue in the widget

PostPosted: Fri Dec 13, 2013 6:38 am
by daneren2005
I could never get it to change the layout like you have there, but yeah it was being weird in going off the screen in both directions. I left it centered, but now it will fade off like it was left aligned like your middle picture. It will be in the next release