Support and General Use > Theming and Appearance Customization

progress bar help

(1/1)

aidan_47:
Hi,
I'm making a new theme for the Gigabeat, and its almost finished, but the progress bar doesnt finish where i want it to. I want the progress bar to start at 35px, which it is, and i want it to finish at 14px, which it isnt. Here's the line of code i'm using for my progress bar.
%pb|4|35|14|
Instead of stopping at 14 from the side, it starts the progress bar image again (slightly higher) to reach the end of the screen.
BTW, the progress bar image uses transparency to position it correctly vertically. The dimensions are 191x12.

Thankyou in advance, this theme may be worthwhile.

lights0ut:
The syntax for the progress bar goes like this:

%pb|height|start x pos| finish x pos|y pos|

so if you want it to finish 14 px from the left you'd put 226 as the finish x pos (240 -16)

aidan_47:
Thanks a lot. The theme is Black Glass version2 for the gigabeat. Its got more anti-aliasing. I'll put it on the Rockbox-Themes page soon as possible.

Navigation

[0] Message Index

Go to full version