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

Page 1 of 2 12 LastLast
  1. #1

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


    This should be a fairly basic question. What's the property to configure on the ToolTip object in order for it to display the full Title by default? In my setup it displays the first three letters only followed by ellipses.

    <ext:Button ID="Button1" runat="server" Text="Cancel and Close" Icon="Cancel">
                     <ext:ToolTip ID="ToolTip1" runat="server" Anchor="top" Title="<nobr>Cancel and Close</nobr>">
    Last edited by Daniil; Aug 02, 2013 at 3:41 PM. Reason: [OPEN] [#314]
  2. #2

    You should set Width or MinWidth for the tooltip. This ellipsis defined by CSS rule text-overflow.

    <ext:ToolTip ID="ToolTip1" runat="server" Anchor="top" Title="<nobr>Cancel and Close</nobr>" Width="200">
  3. #3
    Thanks! But isn't there any way not to worry about setting the calculated width and just let it auto-grow as needed? I suppose that was the default behavior in 1.x, which was taken for granted.
  4. #4
    Tooltip expands only for the width of inner text not for width of the title.
  5. #5
    Does it mean that I need to use a different property to set the Tooltip text for it to auto-grow?
  6. #6
    Tooltip has two main properties: Title and Html. However, Tooltip adjusts its width only for Html not for Title.
  7. #7

    A bit of regress. Interesting what Sencha think about it.
  8. #8
    Thank you guys! My sense is we should wait for the Sencha fix to be committed to SVN, correct?
  9. #9
    The change looks obvious, but I am not sure 100% sure. Also it doesn't look critical. So, yes, could you apply that override in your application for now?

    Then Sencha will fix, it will come to Ext.NET shortly.
  10. #10
    Created an Issue to track it.
Page 1 of 2 12 LastLast

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, 11:14 AM
  2. Toolbar Icons width clipping
    By dbaranas in forum 1.x Help
    Replies: 0
    Last Post: Apr 06, 2011, 3:13 AM
  3. StartMenu Title
    By threewonders in forum 1.x Help
    Replies: 2
    Last Post: Mar 17, 2011, 6:07 PM
  4. Replies: 5
    Last Post: Jun 19, 2009, 7:38 AM
  5. Change Tab title
    By Dgsoft.ru in forum 1.x Help
    Replies: 1
    Last Post: Apr 13, 2009, 12:39 PM

Tags for this Thread

Posting Permissions