headerPanel_.setWidgetTopHeight(subCaptionLabel_,
kLeftMargin, Unit.PX,
kCaptionHeight, Unit.PX);
// second page back button
ImageResource bkImg = res.wizardBackButton();
backButton_ = new Label("Back");
backButton_.addStyleName(styles.wizardBackButton());
headerPanel_.add(backButton_);
headerPanel_.setWidgetLeftWidth(backButton_,
kTopMargin - 2, Unit.PX,
bkImg.getWidth(), Unit.PX);
headerPanel_.setWidgetTopHeight(backButton_,
kTopMargin - 2, Unit.PX,
bkImg.getHeight(), Unit.PX);
backButton_.setVisible(false);
backButton_.addClickHandler(new ClickHandler()
{
public void onClick(ClickEvent event)
{