Re: There is a bug in CellPanel.java

2008-12-11 Thread wurenhai
I agree that I must add 'b' to a cell before a set the size. But my problem is that, it doesn't report error in host model, while it reports error in IE. I use gwt 1.5.3. On 12月9日, 上午2时04分, Ian Bambury ianbamb...@gmail.com wrote: You can't set the size of the cell that 'b' is in before you

Re: There is a bug in CellPanel.java

2008-12-08 Thread David H. Cook
I'm just guessing and shooting from the hip, but your problem is probably not a bug. I've only been coding GWT for about a week now, but have found that I must really read the docs carefully and think globally, when it comes to stuff relating to 'styles' and stuff that is also controlled by .CSS

Re: There is a bug in CellPanel.java

2008-12-08 Thread Ian Bambury
You can't set the size of the cell that 'b' is in before you add 'b' to a cell. v.setCellWidth(b, 100px); v.add(b); Ian http://examples.roughian.com 2008/12/8 wurenhai [EMAIL PROTECTED] Let's read the following code: ==CellPanel.java=== /** * Sets the height of the cell

There is a bug in CellPanel.java

2008-12-07 Thread wurenhai
Let's read the following code: ==CellPanel.java=== /** * Sets the height of the cell associated with the given widget, related to * the panel as a whole. * * @param w the widget whose cell height is to be set * @param height the cell's height, in CSS units */ public void