I have, maybe, a stupid question, take my apologies, but I have used GWT just 1 month.
I would like to use height of panel which use another panel but I got 0 value :
FlowPanel first = new FlowPanel();
Label flexLabel = new Label("some content");
Button button = new Button();
first.add(flexLabel);
first.add(button);
FlowPanel second = new FlowPanel();
second.setHeight(first.getElement().getClientHeight()); // set 0 value always
Why I always got 0 ?? I understand that GWT engine sets this value at runtime when it translates java code to javascript, but why it does not set appropriate value ? How can I work around this?