shaungyuehuoniao / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 2 forks source link

fix messabegox in chrome position text without icons. #536

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
        setIcon : function(icon) {
            if (icon && icon != '') {
                iconEl.removeClass('x-hide-display');
                iconEl.replaceClass(iconCls, icon);
                iconCls = icon;
            } else {
                iconEl.replaceClass(iconCls, 'x-hide-display');
                iconCls = '';
            }
            return this;
        },

Original issue reported on code.google.com by marlon...@gmail.com on 20 Dec 2011 at 1:10