-
9 Nov 2010 2:31 PM #1
Spacing between icons in actioncolumn
Spacing between icons in actioncolumn
Hi @all,
I introduced the new actioncolumn to my code and it works fine.
However, I would like to have a (bigger) gap between the icons.
Is there anyway to do this?
Regards
Patrick
Code:{ xtype: 'actioncolumn', header: 'Aktion', menuDisabled: true, width: 25, items: [{ icon : 'images/icons/email_edit.png', tooltip: 'Mailbox bearbeiten', handler: function(grid, rowIndex, colIndex) { var record = grid.getStore().getAt(rowIndex); var name = record.get('name'); showInfoMessage(name); } }, { icon : 'images/icons/email_delete.png', tooltip: 'Mailbox löschen', handler: function(grid, rowIndex, colIndex) { var record = grid.getStore().getAt(rowIndex); var name = record.get('name'); showInfoMessage(name); } }] }
-
9 Nov 2010 6:22 PM #2
add getClass definition and define margins for your icons?
Wes
-
10 Nov 2010 5:52 AM #3
-
10 Nov 2010 6:39 AM #4Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
Something like:
Code:.x-action-col-icon { height: 16px; width: 16px; margin-right: 8px; }
-
10 Nov 2010 6:51 AM #5
Thanks a lot.
So easy. I always think too complicated.
-
5 Jan 2012 9:33 PM #6
getClass
getClass
How to use getClass ?
-
5 Jan 2012 9:49 PM #7
Similar Threads
-
ActionColumn iconCls does not render
By LeonM in forum Ext 3.x: Help & DiscussionReplies: 11Last Post: 10 Jan 2011, 10:59 AM -
Handler of ActionColumn does not execute
By zeruyo in forum Ext 3.x: Help & DiscussionReplies: 10Last Post: 9 Nov 2010, 7:59 AM -
ActionColumn renderer how to call
By schoonmoeder in forum Ext 3.x: Help & DiscussionReplies: 6Last Post: 27 Aug 2010, 2:21 AM -
changing icons in actioncolumn (3.3 beta)
By schoonmoeder in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 23 Aug 2010, 11:24 AM



Reply With Quote
