Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VerticalPanel vp = new VerticalPanel();
- vp.setWidth("100%");
- vp.setHeight("100%");
- vp.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
- vp.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
- HorizontalPanel hp = new HorizontalPanel();
- hp.setWidth("100%");
- hp.setHeight("100%");
- hp.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
- hp.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement