Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Track name, album and artist not centered? New nano wps preview included!
« previous next »
  • Print
Pages: [1]

Author Topic: Track name, album and artist not centered? New nano wps preview included!  (Read 1961 times)

Offline crzyboyster

  • Member
  • *
  • Posts: 362
  • Proud iPod Nano User!
Track name, album and artist not centered? New nano wps preview included!
« 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:

Quote
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!

* brownstonepreview.jpg (45.44 kB, 176x132 - viewed 146 times.)
« Last Edit: September 16, 2007, 11:24:01 AM by crzyboyster »
Logged
My iPod Nano themes: AAPodSVN - PHK1 Remix - Cabbie 3.0 - Christmas - corners

Offline polygonal

  • Member
  • *
  • Posts: 64
Re: Track name, album and artist not centered? New nano wps preview included!
« Reply #1 on: September 15, 2007, 11:57:09 AM »
Your tag probably has extra spaces at the end.
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Track name, album and artist not centered? New nano wps preview included!
« Reply #2 on: September 15, 2007, 12:01:16 PM »
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...
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline frause

  • Member
  • *
  • Posts: 56
Re: Track name, album and artist not centered? New nano wps preview included!
« Reply #3 on: September 15, 2007, 01:19:13 PM »
Quote from: bascule on September 15, 2007, 12:01:16 PM
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.              
« Last Edit: September 15, 2007, 01:23:06 PM by frause »
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Track name, album and artist not centered? New nano wps preview included!
« Reply #4 on: September 15, 2007, 01:26:19 PM »
Quote from: frause on September 15, 2007, 01:19:13 PM
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.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline crzyboyster

  • Member
  • *
  • Posts: 362
  • Proud iPod Nano User!
Re: Track name, album and artist not centered? New nano wps preview included!
« Reply #5 on: September 15, 2007, 02:18:08 PM »
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
Logged
My iPod Nano themes: AAPodSVN - PHK1 Remix - Cabbie 3.0 - Christmas - corners

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Track name, album and artist not centered? New nano wps preview included!
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.086 seconds with 15 queries.