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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  My theme does not behave as expected
« previous next »
  • Print
Pages: [1]

Author Topic: My theme does not behave as expected  (Read 989 times)

Offline atarax

  • Member
  • *
  • Posts: 3
My theme does not behave as expected
« on: January 27, 2011, 07:15:33 PM »
Hello, I'm working on a theme for the iPod Video, but somehow it is not displayed as it should be.

As you can see from the screenshot, the track title (green on black) is not centered, and the same problem with the "next track" string in the bottom line. The iPod has a screen width of 320px. In the wps-file I wrote:

#####Current Track Title#####
%Vl(a,5,184,310,16,5)%Vf(00b000)%Vb(000000)
%s%ac%?it<%it|%fn>


It seems as if the range to display the text is too narrow (not from 5 to 315 pixels), but within this wrong range the text is centered as can be seen when text is being scrolled (although there is enough space). A bit difficult to describe, but you can download the whole theme at http://www.zentralplan.de/temp/AtaraxRockboxTheme.zip

There are some similar issues at other places. The battery percentage is not aligned right but left. The album title is sometimes being scrolled, in spite of enough space.

Anyone who can help makes me happy!

Here is the wps file:
* Atarax.wps (4.02 kB - downloaded 61 times.)
Logged

Offline atarax

  • Member
  • *
  • Posts: 3
Re: My theme does not behave as expected
« Reply #1 on: January 31, 2011, 11:00:34 AM »
I found out myself: The blank spaces before each comment # have been interpreted and displayed in the skin. If you write each comment right after the command without any blank spaces following the command the skin is displayed all right!  :)

Like that:
Code: [Select]
#####Current Track Title#####
%Vl(a,5,184,310,16,5)%Vf(00b000)%Vb(000000)# viewport
%s%ac%?it<%it|%fn># format

Not like this:
Code: [Select]
#####Current Track Title#####
%Vl(a,5,184,310,16,5)%Vf(00b000)%Vb(000000)  # viewport
%s%ac%?it<%it|%fn>                           # format
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  My theme does not behave as expected
 

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

Page created in 0.046 seconds with 15 queries.