Hi

I just upgrade my browser to IE8 and the image doesn't scale anymore without
specifying the size.
It seems that the image will scale in IE7 if we don't specify the size
explicitly.


denis56, are you using IE7 too?

On Sat, May 2, 2009 at 1:14 AM, denis56 <[email protected]> wrote:

>
> 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 <[email protected]> wrote:
> > Hi Alex,
> > On Thu, Apr 30, 2009 at 2:22 PM, alex.d <[email protected]
> >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
> >
>


-- 

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