i also saw image being scaled in IE (not in Firefox) when added to a
Grid widget. solved through setting size manually as well.

On May 1, 10:33 am, hezjing <hezj...@gmail.com> wrote:
> Hi Alex,
> On Thu, Apr 30, 2009 at 2:22 PM, alex.d <alex.dukhov...@googlemail.com>wrote:
>
>
>
> > 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?
>
> Then, there must be something I did wrong.
>
> Here is the sample code:
>
>     public void onModuleLoad() {
>
>         // logo.png is a 153x14 pixel image.
>         Image logo = new Image("images/logo.png");
>
>         // VerticalPanel p = new VerticalPanel();
>         // HorizontalPanel p = new HorizontalPanel();
>         FlowPanel p = new FlowPanel();
>         p.add(logo);
>
>         RootPanel root = RootPanel.get();
>         root.add(p);
>     }
>
> When tested in hosted mode, the image is being scratched and resized.
>
> Thanks for your help!
>
> --
>
> 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