Hi everyone,

I'm trying to create a universal "star widget" to show rating etc. I have 2 
images with 5 stars ('inactive' and 'active'). In a widget I put them over 
eachother so that the 'active' stars are in the 'front'. Then I would like to 
say that let's say only 0.8 of the 'active' image is visible.
It looks a bit like the images used in grid view. There, pgm.IMAGE_ZOOMED was 
used, but this creates a problem that if I change the width attribute of a 
image, the height is also altered. What I would like to do is to be able to 
modify only the drawed width without modifiyng the rest. I tried 
absolute_width, boxing the image in a HBox and modifiyng that one, but none of 
them seem to work good. The resulting image depends also on what's the widget 
parent.

Cheers
Matej
----------

www.inPage.sk ��� Domena, webhosting, e-mail a seo od 3 Sk/denne.

Reply via email to