[CLOSED] [2.0] TabPanel Icon

  1. #1

    [CLOSED] [2.0] TabPanel Icon

    Hello,

    If you use the Icon.Group icon on a tab in a TabPanel; the tabs are not tall enough to show the entire icon.

    Cheers,
    Timothy
    Last edited by Daniil; Aug 22, 2012 at 4:34 AM. Reason: [CLOSED]
  2. #2
    Hi Timothy,

    I was able to reproduce. I thought we already solved this problem in an earlier release. I'll investigate.

    Example

    <%@ Page Language="C#" %>
    
    <%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>
    
    
    <!DOCTYPE html>
        
    <html>
    <head runat="server">
        <title>Ext.NET Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
    
    
            <ext:TabPanel runat="server" Height="215" Width="350">
                <Items>
                    <ext:Panel runat="server" Title="Tab 1" Icon="Add" />
                    <ext:Panel runat="server" Title="Tab 2" Icon="Group" />
                    <ext:Panel runat="server" Title="Tab 3" Icon="Wrench" />
                </Items>
            </ext:TabPanel>
        </form>
    </body>
    </html>
    Geoffrey McGill
    Founder
  3. #3
    Thanks, let me know when corrected and I'll test again.

    Cheers,
    Timothy
  4. #4
    Try this css rule
    .x-tab-icon{
                width:16px;
                height:16px;
                background-position-y:0px;
                margin-top: -1px;
            }
  5. #5
    The fix has been committed to SVN 2.1.

    Thanks again for the report.

Similar Threads

  1. TabPanel - add icon
    By AlexMaslakov in forum 1.x Help
    Replies: 2
    Last Post: Aug 30, 2011, 12:43 PM
  2. How to add a icon to tabpanel?
    By DanielXu in forum 1.x Help
    Replies: 1
    Last Post: Jun 28, 2011, 10:47 PM
  3. Replies: 1
    Last Post: May 20, 2011, 5:02 AM
  4. [CLOSED] How to update the icon of a TabPanel on the fly?
    By rmelancon in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 04, 2010, 9:38 PM
  5. icon on tabs in tabpanel
    By silverstarsky in forum 1.x Help
    Replies: 2
    Last Post: Nov 20, 2009, 5:11 AM

Posting Permissions