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
| | |-+  Viewport help
« previous next »
  • Print
Pages: [1]

Author Topic: Viewport help  (Read 1783 times)

Offline aerovi

  • Member
  • *
  • Posts: 2
Viewport help
« on: October 15, 2008, 05:58:19 PM »
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
« Last Edit: October 16, 2008, 10:34:04 PM by Chronon »
Logged

Offline robin0800

  • Member
  • *
  • Posts: 291
  • Freeman
Re: Viewpoint help
« Reply #1 on: October 15, 2008, 07:15:56 PM »
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
Logged

Offline aerovi

  • Member
  • *
  • Posts: 2
Re: Viewpoint help
« Reply #2 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 - so i just moved some stats around.

thanks for the help anyway!  :-[

all is well i suppose.  :D
Logged

Offline audio-i

  • Artist
  • Member
  • *
  • Posts: 266
Re: Viewpoint help
« Reply #3 on: October 16, 2008, 12:13:56 PM »
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 -

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...
« Last Edit: October 16, 2008, 01:49:44 PM by akahhannah »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Viewport help
 

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

Page created in 0.073 seconds with 15 queries.