1. #1
    Ext User schmidetzki's Avatar
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    110
    Vote Rating
    0
    schmidetzki is on a distinguished road

      0  

    Default Bug in Ext.quickTips.show() when setting ext:width

    Bug in Ext.quickTips.show() when setting ext:width


    There is a bug since beta2 in Ext.QuickTips.show().

    If you specify ext:width in an element the width of the quicltip will be calculated as follows:

    var p = getPad(), w = ce.width;
    el.setWidth(w + p);
    (quicktips.js, line 121 to 134)

    However w ist as STRING (because its a dom attribite)!
    If you define ext:width="200" the quicktip width will calculate to 20012 (in my case).

    My workaround ist ti change line 134 in:
    el.setWidth(Number(w) + p);

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    Thanks!
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

Thread Participants: 1