Page 1 of 1

Possible to use the new GRAD. in xBrowse for progress-bar ?

Posted: Sun Jul 27, 2008 1:43 pm
by ukoenig
Hello,

i'm busy to add the new gradient
in the vtools-xbrowse-part.

Is it possible to show a gradient
in progress-bars as well ?

Image

with gradient it looks like :

Image

It is possible, to do this with bitmaps :

1. create a gradient bitmap for 100 % = Cell-length and Cell-height
because to write 100% behind the max-bitmap, just make the complete
length a bit shorter as cell length.

2. cut the bitmap in desired, different parts ( allways from the beginning )
sample : a part for age <= 30, age = 40, 50, 60 and so on.

Just as you like, you can create a gradient with frames
or make it smaller than the cell-height ( own style ).

100 %
Image

50 %
Image

25 %
Image

3. include the bitmap for the cell in relation to the age.
a step of 10 years for the cutting is ok, because there is no much
difference to see.

Best Regards
Uwe :lol: