You found a bug! We've classified it as EXTGWT-1960 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext GWT Premium Member gdlm's Avatar
    Join Date
    Jan 2012
    Location
    Belgium
    Posts
    209
    Vote Rating
    4
    gdlm is on a distinguished road

      0  

    Default Tooltip text is displayed outside the tooltip's borders

    Tooltip text is displayed outside the tooltip's borders


    Version of Ext GWT
    3.0 Release Candidate 2

    Browser versions and OS
    Internet Explorer 8, FF11, Chrome 18 running on Windows 7 Professional SP1

    Virtual Machine
    No

    Description
    Sometimes tooltip text is displayed outside the tooltip's borders

    Run mode
    Development mode/Production mode

    Steps to reproduce the problem
    1. Start running the example
    2. Hoover with the mouse over the cell in the 2nd column or over the text

    Expected result
    A tooltip appears having all its text inside the tooltip borders

    Actual result
    A tooltip appears that has text outside the borders

    Test case
    Code can be found here


    Screenshot
    Possible fix
    None found

  2. #2
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    A tooltip has a maximum width. When the text exceeds that maximum width, it is wrapped. However, for a single very long "word", there is no appropriate behaviour other than to allow the text to overflow its box. This is standard for boxes in HTML.

    Your problem would ordinarily be solved simply by giving the QuickTip a larger maximum width. However, I've tried this with your test case and can't quite seem to make it work correctly. I've filed a bug to take a look and figure out what exactly is causing this problem.

  3. #3
    Ext GWT Premium Member gdlm's Avatar
    Join Date
    Jan 2012
    Location
    Belgium
    Posts
    209
    Vote Rating
    4
    gdlm is on a distinguished road

      0  

    Default


    FYI:
    for GXT 3.0.0 the problem seems to be solved in IE8 but not in FF or Chrome.

Thread Participants: 1