PDA

View Full Version : [FIXED] 2.0 M3 Hard-coded quickShowInterval value



atulai
12 Jun 2009, 12:11 PM
Currently the Tip object has quickShowInterval hard-coded to 250. Our application currently uses QuickTips in grids, for various fields. Since many rows will have quicktips it becomes somewhat annoying for the user as they are moving their mouse across the grid because of this interval allowing tooltips to bypass the showDelay. I find it surprising that this variable is not already exposed in the api. Is there any technical reason for this?

I have it exposed on my local build, but I would have to apply this change every time I update gxt, unless I build from source every time, which is also less convenient than just using the provided jar.

My changes (Tip.java):



/**
* Sets the quick show interval (defaults to 250).
*
* @param quickShowInterval the quick show interval
*/
public void setQuickShowInterval(int quickShowInterval) {
this.quickShowInterval = quickShowInterval;
}

/**
* Returns the quick show interval.
*
* @return the quick show interval
*/
public int getQuickShowInterval() {
return quickShowInterval;
}

darrellmeyer
24 Jun 2009, 6:24 PM
Fixed in SVN.