Results 1 to 2 of 2

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

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

    Default 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
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      0  

    Default

    Thanks!
    Jack Slocum
    Sencha Co-Founder, Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •