given between this code:
final StackLayoutPanel menu = new StackLayoutPanel(Unit.EM);


    final VerticalPanel verticalPanel_1 = new VerticalPanel();
    menu.add(verticalPanel_1, new HTML("New Widget"), 2.0);

    final VerticalPanel verticalPanel = new VerticalPanel();
    menu.add(verticalPanel, new HTML("New Widget"), 2.0);

    addEast(menu, 187.0);

and this one:
final StackLayoutPanel menu = new StackLayoutPanel(Unit.EM);
    addEast(menu, 187.0);

    final VerticalPanel verticalPanel_1 = new VerticalPanel();
    menu.add(verticalPanel_1, new HTML("New Widget"), 2.0);

    final VerticalPanel verticalPanel = new VerticalPanel();
    menu.add(verticalPanel, new HTML("New Widget"), 2.0);

i get 2 different results in the gwt designer, why?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Fr5KC31bZV0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to