EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: devnull on January 03, 2015, 09:07:21 PM



Title: deltaX does not appear to work
Post by: devnull on January 03, 2015, 09:07:21 PM
I seem to be unable to change the x offset of the tooltip on validate boxes and combos:

Code:
$.extend($.fn.validatebox.defaults,{deltaX:20});

What am I doing wrong ?

Also, the validate tooltip on a combobox covers the dropdown arrow, can this be changed so that it is outside the combobox same as the other text boxes etc ?


Title: Re: deltaX does not appear to work
Post by: stworthy on January 04, 2015, 12:25:12 AM
The validating tooltip does not cover the dropdown arrow of a combobox component. Please refer to this example http://jsfiddle.net/uf342zhp/


Title: Re: deltaX does not appear to work
Post by: devnull on January 04, 2015, 12:35:50 AM
My apologies, you are correct, I'm sure I saw this on one of the combos, but don't recall which one.

Thanks anyway


Title: Re: deltaX does not appear to work
Post by: devnull on January 19, 2015, 12:31:49 AM
Hi;

Sorry to re-open this, but I don't think you answered the initial question:

I seem to be unable to change the x offset of the tooltip on validate boxes and combos:

Code:
$.extend($.fn.validatebox.defaults,{deltaX:20});

Thanks


Title: Re: deltaX does not appear to work
Post by: stworthy on January 19, 2015, 02:00:43 AM
Please try to override the textbox's 'getTipX' method.
http://jsfiddle.net/uf342zhp/1/