-
11 Oct 2011 5:29 AM #1
iconCls in ActionColumn not working
iconCls in ActionColumn not working
Hi again,
I want to use a CSS class to display icons in my ActionColumn but they won't show up.
What's the matter?
Code:{ xtype: 'actioncolumn', header: 'Aktion', menuDisabled: true, width: 25, items: [ { iconCls: 'email_edit', tooltip: 'Mailbox bearbeiten', handler: function(grid, rowIndex, colIndex) { } },Code:.email_edit{background-image:url(images/icons/email_edit.png); background-repeat: no-repeat;}Webhosting? Domains? => Westenberg + Küppers GbR
-
11 Oct 2011 5:45 AM #2
Already found an answer in the forum:
ActionColumn doesn't define a standard icon size, so you also need:
.x-action-col-cell img { height: 16px; width: 16px; }
(assuming your images are 16x16px)Webhosting? Domains? => Westenberg + Küppers GbR



Reply With Quote