button = new TextButton(getMessages().browserText());
DivElement wrapper = Document.get().createDivElement();
wrapper.addClassName(appearance.buttonClass());
XElement buttonElement = button.getElement();
if (GXT.isIE6() || GXT.isIE7() || GXT.isIE8() || GXT.isOpera()) {
buttonElement.removeClassName(CommonStyles.get().inlineBlock());
}
wrapper.appendChild(buttonElement);
getElement().appendChild(wrapper);
ensureVisibilityOnSizing = true;