Hi

I have the following code snippet,

        Image logo = new Image("images/logo.png");
        logo.setSize("153px", "14px");


The logo.png has the size of 153 x 14, and I have to specify this size
before adding to a FlowPanel.
Otherwise, the image will be resized (scratched to bigger size)
automatically and become ugly.

Can GWT takes the image size automatically without having us to specify
them?
It's going to be tedious with several images.


Thank you!


-- 

Hez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to