Commit 9105f66176ef6d4b761571b5ac40e1b135c848e2

Authored by Nathanael Jourdane
1 parent 8429ea57

Replace clear icon with a trash image

js/app/controllers/ExplorerModule.js
... ... @@ -114,7 +114,7 @@ Ext.define('amdaDesktop.ExplorerModule',
114 114 stateful: true,
115 115 stateId: 'LogPanel',
116 116 tools: [{
117   - type: 'close',
  117 + type: 'trash',
118 118 tooltip: 'Clear logs',
119 119 handler: function () {
120 120 var logPanel = win.items.get('LogPanel')
... ...
js/resources/css/amda.css
... ... @@ -121,6 +121,14 @@ background-image: url(../images/small_cancel_centered.png);
121 121 }
122 122  
123 123 /**
  124 +Custom tool typ icons
  125 + */
  126 +
  127 +.x-tool-trash {
  128 + background-image: url(../images/trash.png) !important;
  129 +}
  130 +
  131 +/**
124 132 * RangeMenu Styles
125 133 **/
126 134  
... ... @@ -504,4 +512,4 @@ p + p {
504 512 .epntap_cell {
505 513 padding: 4px;
506 514 white-space: normal;
507   -}
508 515 \ No newline at end of file
  516 +}
... ...
js/resources/images/trash.png 0 → 100644

356 Bytes