rendered paste body HorizontalPanel root = new HorizontalPanel();
VerticalPanel bug = new VerticalPanel();
bug.setWidth("126px");
mapHolder = new SimplePanel();
Image map = new Image();
mapHolder.add(map);
events = new Label("events");
website = new Label("website");
bug.add(mapHolder);
bug.add(events);
bug.add(website);
bug.setCellHeight(mapHolder, "100%");
bug.setCellHorizontalAlignment(events, HorizontalPanel.ALIGN_RIGHT);
bug.setCellHorizontalAlignment(website, HorizontalPanel.ALIGN_RIGHT);
bug.setHeight("100%");
VerticalPanel right = new VerticalPanel();
about = new Label("About");
photos = new Label("Photo");
Label sep1 = new Label("|");
PaddingFactory.addSmallLefRightPadding(sep1);
SelectableLabel menu = new SelectableLabel(
new Widget [] {
about,sep1,photos
},
new Widget [] {
about,photos,
},
"awdio-black","awdio-grey"
);
right.add(menu);
aboutPanel = new VerticalPanel();
SimplePanel aboutPanelHolder = new SimplePanel();
aboutPanelHolder.add(aboutPanel);
aboutText = new HTML();
tribesText = new HTML();
soundsText = new HTML();
aboutPanel.add(aboutText);
aboutPanel.add(tribesText);
aboutPanel.add(soundsText);
right.add(aboutPanelHolder);
right.add(photosPanel);
aboutPanel.setVisible(true);
photosPanel.setVisible(false);
root.add(bug);
root.setCellHeight(bug, "100%");
root.add(right);
initWidget(root);
root.setHeight("100%");
menu.addChangeListener(this);
setStylePrimaryName(PRIMARY_STYLE);
aboutPanelHolder.setStylePrimaryName(getStylePrimaryName()+ABOUT_PANEL);
menu.setStylePrimaryName(getStylePrimaryName()+MENU);