Text alignment issue in the widget

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

Text alignment issue in the widget

Postby ali » Fri Dec 13, 2013 3:21 am

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).
ali
 
Posts: 11
Joined: Mon Dec 27, 2010 6:32 pm

Re: Text alignment issue in the widget

Postby daneren2005 » Fri Dec 13, 2013 6:38 am

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
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm


Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 23 guests