EasyUI Forum
November 03, 2025, 03:27:19 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: deltaX does not appear to work  (Read 9363 times)
devnull
Sr. Member
****
Posts: 431


View Profile
« 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 ?
« Last Edit: January 19, 2015, 12:30:35 AM by devnull » Logged

-- Licensed User --
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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/
Logged
devnull
Sr. Member
****
Posts: 431


View Profile
« Reply #2 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
Logged

-- Licensed User --
devnull
Sr. Member
****
Posts: 431


View Profile
« Reply #3 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
Logged

-- Licensed User --
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #4 on: January 19, 2015, 02:00:43 AM »

Please try to override the textbox's 'getTipX' method.
http://jsfiddle.net/uf342zhp/1/
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!