Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    image is not displayed in FF

    I am using SmartGwt 3.0, SmartClient Version: 8.2/LGPL Development Only (built 2011-12-05)
    On FF11 and IE8

    I run the following code on FF and on IE. On FF,
    1. I open a fresh browser the image is not displayed
    2. I refresh the browser the image is displayed.
    On IE the image is displayed immediately

    Code:
     
    		HLayout mLayout = new HLayout();
    		Canvas mCanvas = new Canvas();
    		Img mImage = new Img();
    		mLayout.setLayoutAlign(VerticalAlignment.CENTER);
    		mLayout.setAlign(Alignment.LEFT);
    		mLayout.setAutoWidth();
    		mLayout.setAutoHeight();
    		mLayout.addMember(mCanvas);
    		mImage.setSrc("doubleArrow_left.png");
    		mImage.setImageType(ImageStyle.NORMAL);
    		mImage.setAutoHeight();
    		mImage.setAutoWidth();
    		mCanvas.addChild(mImage);
    		mImage.redraw(); 
    		mCanvas.setBorder("1px solid red");
    		mAppletPanel.addMember(mLayout);

    #2
    Can someone please fix this?
    Thanks a lot

    Comment

    Working...
    X