Interface ButtonCellBase.DefaultAppearance.Template

    • Method Detail

      • iconContentLayout

        @Template("<div class=\"{0}\" style=\"{1}position:relative;zoom:0;\">{2}{3}</div>")
        SafeHtml iconContentLayout​(java.lang.String classes,
                                   SafeStyles styles,
                                   SafeHtml icon,
                                   SafeHtml cellContents)
        Positions the icon next to the text. NOTE: zoom:0 is a workaround for an IE7 bug where the button contents wrap even when they do not need to.
      • iconWrapper

        @Template("<div style=\"{0}position:absolute;top:50%;line-height:0px;\">{1}</div>")
        SafeHtml iconWrapper​(SafeStyles styles,
                             SafeHtml image)
        The wrapper around the icon that aligns it vertically with the text.