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