Support and General Use > Theming and Appearance Customization
My theme does not behave as expected
(1/1)
atarax:
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:
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: ---#####Current Track Title#####
%Vl(a,5,184,310,16,5)%Vf(00b000)%Vb(000000)# viewport
%s%ac%?it<%it|%fn># format
--- End code ---
Not like this:
--- Code: ---#####Current Track Title#####
%Vl(a,5,184,310,16,5)%Vf(00b000)%Vb(000000) # viewport
%s%ac%?it<%it|%fn> # format
--- End code ---
Navigation
[0] Message Index
Go to full version