Support and General Use > Theming and Appearance Customization

Viewport help

(1/1)

aerovi:
Hi guys!

I just updated rockbox, and was surprised to see the theme was broken, but its all good now! I was able to fix most of it, and read that %m was removed, and not really understanding how to use viewport so I was wondering if someone could help me fix this theme?

screenshot: http://img412.imageshack.us/img412/6406/7wby0.jpg

The text on the right side cut off some of the album art, so I want to fix it so it displays the album art completely.

The full wps code is here: http://pastebin.com/m367176e7

But from what I'm reading, it looks like you just need to manipulate the margins.

The margin I used was: %m|112|

Thanks for any help!   ;D

----
edit: corrected a typo

robin0800:
You are obviously running an old build as recently  %m has been removed and %pb changed.
However if you need to fix this, for your current build, try moving %c1 to the line above the %c line

aerovi:
it works for a second and then it gets cut up again from %pv,%bv. i guess it because those values are constantly updating. the only way i got them to display was with margin, i gave up trying to use viewpoint - so i just moved some stats around.

thanks for the help anyway!  :-[

all is well i suppose.  :D

audio-i:

--- Quote from: aerovi on October 16, 2008, 11:51:52 AM ---it works for a second and then it gets cut up again from %pv,%bv. i guess it because those values are constantly updating. the only way i got them to display was with margin, i gave up trying to use viewpoint -

--- End quote ---

Have you read the CustomWPS page? Of course have in mind that what you need is under "Viewports"...

The elements you mention (album art, %pv, etc) should probably be placed within a viewport (even their own viewport, if necessary); viewports boundaries should not overlap under normal circumstances, otherwise that can cause images to clip...

Navigation

[0] Message Index

Go to full version