" </g:FlowPanel>",
"</ui:UiBinder>");
refresh();
WidgetInfo widget = getObjectByName("widget");
// decorations
assertEquals(new Insets(0), widget.getMargins());
assertEquals(new Insets(3), widget.getBorders());
assertEquals(new Insets(1, 8, 1, 8), widget.getPaddings());
// set new size, tweak to take decorations into account
widget.getSizeSupport().setSize(100, 50);
assertEquals(new Dimension(100, 50), widget.getBounds().getSize());
// source
int clientWidth = 100 - (0 + 0 + 0) * 2;