Re: Bug in gwt Grid, Setting Background image

2009-03-04 Thread Tobe

I am getting a similar problem with setting the background image in a
flex table. The image seems to be set for the table as a whole and
then also for each cell in the first column. The problem started
occuring after upgrading to 1.5 from 1.3. (It also doesn't happen in
Firefox, just IE7)
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Bug in gwt Grid, Setting Background image

2009-02-28 Thread Salvin

Hi,
I found a bug in gwt grid.
I just set a normal background image:

css code:

.myMainGrid{
background-image: url('http://code.google.com/webtoolkit/
logo-185x175.png');
}


java code:
public class Tester extends Composite {
Grid mainGrid;
public Tester() {
mainGrid = new Grid(10,10);
mainGrid.setWidth(500+"px");
mainGrid.setHeight(500+"px");
mainGrid.setBorderWidth(1);
initWidget(mainGrid);
setStyleName("myMainGrid");
}
}

entry point code:
public class MyEntryPoint implements EntryPoint {

/**
 * This is the entry point method.
 */
public void onModuleLoad() {
DialogBox dlgMainScreen = new DialogBox();
dlgMainScreen.setText("test ");
dlgMainScreen.add(new Tester());
dlgMainScreen.show();
dlgMainScreen.center();
}
}


Here is my screenshot:
www.freewebtown.com/salvindata/data/gwt%20background%20bug.JPG

What is undesirable is that every cell in First Column gets the same
image as background. i tried same css
in a simple html table and i found it works fine. why does gwt do so ?






--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---