plexinc / plex-for-kodi

Offical Plex for Kodi add-on releases.
GNU General Public License v2.0
249 stars 124 forks source link

Adjust track number display for audio playlists with more than 999 items #244

Closed pannal closed 6 years ago

pannal commented 6 years ago

GHI (If applicable): #

Description:

With track numbers with 4 or more digits, only the first digit is displayed and the rest is replaced with dots.

Checklist:

ruuk commented 6 years ago

We should be able to just move and center the text of the number without affecting the rest of the layout (which we want to keep the way it is).

Before: screenshot002

This PR: screenshot001

pannal commented 6 years ago

Yeah. XML layout didn't make too much sense to me (=I didn't fully understand it as it seems) - there's a focused and a non-focused item layout, but the obvious focus one is actually affected by another tree inside the same XML.

I might have messed up the layout a tad.

The original (your first screenshot) isn't clean either, though, as the track number is too close to the icon to the right.

I'll revisit this.