Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Jun 2009
    Posts
    45
    Vote Rating
    0
    wapiko is on a distinguished road

      0  

    Default [OPEN-1280] ToolTip in Japanese

    [OPEN-1280] ToolTip in Japanese


    Hi there,

    I'm having some weird issues with tooltip that contains Japanese characters.
    I have a toolbar with two buttons, one of the buttons (button A) contains Japanese text.
    The other button (button B ) has a tooltip containing Japanese characters.
    When mouseover on the button with tooltip (button A), the font of button B looks smaller.
    But when mouseover on button B, the font size changes back to normal.

    Here is the code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Test</title>
    <link href="../style/ext/css/ext-all.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../javascript/ext/adapter/ext-base.js"></script>
    <script type="text/javascript" src="../javascript/ext/ext-all.js"></script>
    <script type="text/javascript">
    //<!--/*--><![CDATA[/*><!--*/
    Ext.onReady(function()
    {
    Ext.QuickTips.init();

    var toolbar = new Ext.Toolbar(
    {
    renderTo: "testDiv",
    items: [
    {
    text: "エラー番号"
    },
    "-",
    {
    text: "test",
    tooltip: "Tooltip ツールチップ"
    }
    ]
    });
    }
    );
    //]]>-->
    </script>
    </head>
    <body>
    <div id="testDiv"></div>
    </body>
    </html>

    It seems this issue only happens with IE8.
    Both Firefox and IE7 seem to work okay.
    Is it a bug? Or am I doing something wrong?
    Thanks in advance.

  2. #2
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,133
    Vote Rating
    322
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    No, you're doing nothing wrong - it works fine in Safari@Mac and Firefox@Mac also. It can be some IE8-specific css problem, however, it doesn't make sense to me why mouseover on one button causes a problem with another button.

    Sorry, I cannot test it as I'm on Mac.

  3. #3
    Ext JS Premium Member
    Join Date
    Jun 2009
    Posts
    45
    Vote Rating
    0
    wapiko is on a distinguished road

      0  

    Default


    I found a fix to this issue.

    I think the acutal problem is because the font of the button and tooltip that are using do not match.

    In ext-all.css.....

    .x-btn button{
    font:normal 11px arial,tahoma,verdana,helvetica;
    color:#333;
    }
    .x-tip .x-tip-body {
    font: normal 11px tahoma,arial,helvetica,sans-serif;
    color:#444;
    }

    By changing the .x-tip .x-tip-body font to "normal 11px arial,tahoma,helvetica,sans-serif;" (swapping the first two font families) fixed this issue.

  4. #4
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,133
    Vote Rating
    322
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Perfect!

    I'll move this thread to bugs as this could be fixed in the core of Ext.

Similar Threads

  1. [OPEN-1244] Tooltip wrong align
    By vladsch in forum Ext 3.x: Bugs
    Replies: 3
    Last Post: 14 Oct 2010, 1:03 PM
  2. [OPEN-1240] DateField appears behind Tooltip
    By Andreas B. in forum Ext 3.x: Bugs
    Replies: 0
    Last Post: 26 Aug 2010, 11:28 PM
  3. [OPEN] [2.x] Tooltip bug under IE8
    By smartlit in forum Ext 2.x: Bugs
    Replies: 3
    Last Post: 23 Jul 2010, 2:02 AM
  4. [OPEN-980] ToolTip offsets and scrolling
    By sacha in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 15 Jun 2010, 7:28 AM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar