public void testSize() {
loadApi(new Runnable() {
public void run() {
Widget widget;
Options options;
options = Options.create();
options.setSize(Size.SMALL);
widget = new OrgChart(createDataTable(), options);
RootPanel.get().add(widget);
// System.out.println(widget.getElement().getString());
options = Options.create();
options.setSize(Size.MEDIUM);
widget = new OrgChart(createDataTable(), options);
RootPanel.get().add(widget);
// System.out.println(widget.getElement().getString());
options = Options.create();
options.setSize(Size.LARGE);
widget = new OrgChart(createDataTable(), options);
RootPanel.get().add(widget);
// System.out.println(widget.getElement().getString());
}
});