Shouldn't be this way - i'm using a lot of images and i'm certainly
not setting their sizes manually. Does this occur only with a
flowpanel? Can you make a small example that demonstrates the problem?

On 29 Apr., 16:36, hezjing <[email protected]> wrote:
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to