1. #1
    Ext User
    Join Date
    May 2008
    Posts
    97
    Vote Rating
    0
    jraue is on a distinguished road

      0  

    Lightbulb ToolTips on disabled elements

    ToolTips on disabled elements


    Hi,

    I noted that Ext GWT does not show ToolTips on disabled elements (at least for TextToolItem). Is that really the desired behavior?

    E.g. MS Office applications do show tool tips for disabled elements in the tool bar, and IMHO this would be the better behavior also for Ext GWT.

    Would love to see that change in the next release.

    Cheers,

    Joachim

  2. #2
    Ext User
    Join Date
    May 2008
    Posts
    97
    Vote Rating
    0
    jraue is on a distinguished road

      0  

    Lightbulb


    As a workaround, it would be possible to use:

    Code:
    public class MenuBarToolItem extends TextToolItem {
    	public MenuBarToolItem() {
    		button = new Button() {
    			@Override
    			public void onBrowserEvent(Event event) {
    				int type = DOM.eventGetType(event);
    
    				if (disabled && (type == Event.ONMOUSEOVER || type == Event.ONMOUSEOUT)) {
    					enable();
    					super.onBrowserEvent(event);
    					disable();
    				} else {
    					super.onBrowserEvent(event);
    				}
    			}
    		};
    	}
    }

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar