I'm trying to create a table with square cells, which are always the same size. I'm having some trouble with doing just this. I've created a Grid editG = new Grid(5,5); and I tried to set the width/height of the cells in the css with: td { width:50px; height:50px; } But this doesn't actually increase the size much. It definitely doesn't reach 50x50 px.
Apart from this, I want to dynamically change the background color of a cell. I did this with: editG.getCellFormatter().setStyleName(0, 0, "alive"); and in the css .alive { background-color: #000000; } This seems to be working. How do I set the cell size? I feel like I'm missing something obvious. Could someone point me in the right direction? NB:The content will not exceed the size, so overflow can be disregarded. -- 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-tool...@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.