Rockbox Technical Forums
Support and General Use => Theming and Appearance Customization => Topic started by: crzyboyster on September 15, 2007, 11:45:37 AM
-
Hi, I am currently making a new wps for the nano. here's my problem (pretty much my only one so far), the track, album and artist names just won't center!
here's a preview so that you can diagnose my problem. also, here's the wps code:
code taken off by me
i am not a "perfect" wps coder either. i have a lot of mistakes in my code (probably), but still help me! also, do wps parser changes happen often? I don't want to recode my themes that much.
EDIT: for some reason, the attachment preview discolored my preview, click on it to make it look right, thanks!
-
Your tag probably has extra spaces at the end.
-
1. Are you using a custom build? If so, that may be the reason.
If not, the only obvious thing I can think of is that some of your tags are padded with spaces, causing them to be misaligned, as your code looks OK...
-
If not, the only obvious thing I can think of is that some of your tags are padded with spaces, causing them to be misaligned, as your code looks OK...
Well, since even the quoted wps lines have trailing spaces, I'd say that's it.
Tip: Select all and the evil whitespace will show itself.
-
Well, since even the quoted wps lines have trailing spaces, I'd say that's it.
I didn't even think to check that. You are of course correct. I originally meant the ID3/Vorbis tags, but actually it's additional spaces at the end of the lines in question actually in the .wps file that is causing the problem.
-
thank you guys for responding so fast! yes, there were indeed spaces after the track, artist and album tags. after getting rid of them, it worked perfectly. any other suggestions on this wps? does the clock look good at the top? any other things? going to be released tomorrow! ;D