[OPEN] [#314] Tooltip is clipping its title

Page 2 of 2 FirstFirst 12
  1. #11
    Is this the override?

            Ext.define('TipFix', {
                override: 'Ext.tip.QuickTip',
                shrinkWrapDock: true
            });
    Is everything set up correctly because it doesn't fix the issue in the code below?

    <%@ Page Language="C#" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>Ext.Net 2.x</title>
        <ext:ResourcePlaceHolder ID="ResourcePlaceHolder1" runat="server" Mode="Script" />
        <ext:ResourcePlaceHolder ID="ResourcePlaceHolder2" runat="server" Mode="Style" />
        <script type="text/javascript">
            Ext.define('TipFix', {
                override: 'Ext.tip.QuickTip',
                shrinkWrapDock: true
            });
        </script>
    </head>
    <body>
        <form id="Form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server">
        </ext:ResourceManager>
        <ext:Viewport runat="server" Layout="FitLayout">
            <Items>
                <ext:Panel runat="server">
                    <TopBar>
                        <ext:Toolbar runat="server">
                            <Items>
                                <ext:Button ID="Button1" runat="server" Text="Some Test">
                                    <ToolTips>
                                        <ext:ToolTip runat="server" ShrinkWrapDock="true" Anchor="top" Title="<nobr>Click here to do some test</nobr>">
                                        </ext:ToolTip>
                                    </ToolTips>
                                </ext:Button>
                            </Items>
                        </ext:Toolbar>
                    </TopBar>
                </ext:Panel>
            </Items>
        </ext:Viewport>
        </form>
    </body>
    </html>
  2. #12
    That override is for QuickTips.

    Since you are using a common ToolTip, an override should be:
    Ext.define('TipFix2', {
        override: 'Ext.tip.ToolTip',
        shrinkWrapDock: true
    });
    Though, I am not sure Sencha will apply it for common ToolTips by default. I asked.

    In any way, the ShrinkWrapDock="true" setting should work. Currently, it doesn't and it is a bug. Fixed in SVN.
  3. #13
    Confirmed. The TipFix2 override and SVN fix work well for my test case. Thanks!
  4. #14
    Quote Originally Posted by vadym.f View Post
    The TipFix2 override and SVN fix work well for my test case.
    Please note that the override and the ShrinkWrapDock="true" setting are different solutions. They are not supposed to be used together.
  5. #15
    I just removed the override leaving ShrinkWrapDock="true" in place and the Tooltip seems to stretch accordingly.
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] need to put a Tooltip on panel title
    By feanor91 in forum 2.x Premium Help
    Replies: 20
    Last Post: Aug 21, 2012, 10:14 AM
  2. Toolbar Icons width clipping
    By dbaranas in forum 1.x Help
    Replies: 0
    Last Post: Apr 06, 2011, 2:13 AM
  3. StartMenu Title
    By threewonders in forum 1.x Help
    Replies: 2
    Last Post: Mar 17, 2011, 5:07 PM
  4. Replies: 5
    Last Post: Jun 19, 2009, 6:38 AM
  5. Change Tab title
    By Dgsoft.ru in forum 1.x Help
    Replies: 1
    Last Post: Apr 13, 2009, 11:39 AM

Tags for this Thread

Posting Permissions