PDA

View Full Version : [CLOSED] [2.0] TabPanel Icon



Timothy
Jun 21, 2012, 5:26 PM
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

geoffrey.mcgill
Jun 21, 2012, 8:34 PM
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>

Timothy
Jun 21, 2012, 8:52 PM
Thanks, let me know when corrected and I'll test again.

Cheers,
Timothy

Vladimir
Aug 20, 2012, 12:50 PM
Try this css rule


.x-tab-icon{
width:16px;
height:16px;
background-position-y:0px;
margin-top: -1px;
}

Daniil
Aug 22, 2012, 4:33 AM
The fix has been committed to SVN 2.1.

Thanks again for the report.