Commit 9105f66176ef6d4b761571b5ac40e1b135c848e2
1 parent
8429ea57
Exists in
master
and in
110 other branches
Replace clear icon with a trash image
Showing
3 changed files
with
10 additions
and
2 deletions
Show diff stats
js/app/controllers/ExplorerModule.js
@@ -114,7 +114,7 @@ Ext.define('amdaDesktop.ExplorerModule', | @@ -114,7 +114,7 @@ Ext.define('amdaDesktop.ExplorerModule', | ||
114 | stateful: true, | 114 | stateful: true, |
115 | stateId: 'LogPanel', | 115 | stateId: 'LogPanel', |
116 | tools: [{ | 116 | tools: [{ |
117 | - type: 'close', | 117 | + type: 'trash', |
118 | tooltip: 'Clear logs', | 118 | tooltip: 'Clear logs', |
119 | handler: function () { | 119 | handler: function () { |
120 | var logPanel = win.items.get('LogPanel') | 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,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 | * RangeMenu Styles | 132 | * RangeMenu Styles |
125 | **/ | 133 | **/ |
126 | 134 | ||
@@ -504,4 +512,4 @@ p + p { | @@ -504,4 +512,4 @@ p + p { | ||
504 | .epntap_cell { | 512 | .epntap_cell { |
505 | padding: 4px; | 513 | padding: 4px; |
506 | white-space: normal; | 514 | white-space: normal; |
507 | -} | ||
508 | \ No newline at end of file | 515 | \ No newline at end of file |
516 | +} |
356 Bytes