image.getElement().getParentElement().setAttribute("style","padding-right:10px;vertical-align:middle");
text.getElement().getParentElement().setAttribute("style","vertical-align:middle");
panel.add(header);
panel.add(new HTML(result.getMessage()));
if (result.hasDetails()) {
AriaLink detailsLink = new AriaLink(Console.CONSTANTS.common_label_details());
detailsLink.addStyleName("details-panel-header");
detailsLink.getElement().setAttribute("style", "padding-top:15px;");
DisclosurePanel detailsPanel = new DisclosurePanel();
detailsPanel.setHeader(detailsLink);
detailsPanel.addStyleName("help-panel-aligned");
detailsPanel.addOpenHandler(new OpenHandler<DisclosurePanel>() {