Permalink
Browse files

Hide demo toolbars, and use icons for ping/clear.

  • Loading branch information...
1 parent 9ed8573 commit 46f3955b4fd55193c7534eb4eea8b8e4c6932af9 @nelstrom committed Mar 8, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 public/app/views/actioncard.js
@@ -2,14 +2,14 @@ ToolbarDemo.views.topbar = new Ext.Toolbar({
title: "Buttons",
items: [
{
- text: 'clear',
+ iconCls: 'delete', iconMask: true, ui: "plain",
handler: function() {
ToolbarDemo.views.homecard.tab.setBadge("");
}
},
{ xtype: 'spacer' },
{
- text: 'ping',
+ iconCls: 'star', iconMask: true, ui: "plain",
handler: function() {
var hometab = ToolbarDemo.views.homecard.tab,
badgenumber = parseInt(hometab.badgeText),
@@ -71,9 +71,9 @@ ToolbarDemo.views.Actioncard = Ext.extend(Ext.Panel, {
html: "placeholder text",
dockedItems: [
ToolbarDemo.views.topbar,
- ToolbarDemo.views.textButtonShapes,
- ToolbarDemo.views.textButtonColors,
- ToolbarDemo.views.mixedTextButtons,
- ToolbarDemo.views.imageButtons
+ // ToolbarDemo.views.textButtonShapes,
+ // ToolbarDemo.views.textButtonColors,
+ // ToolbarDemo.views.mixedTextButtons,
+ // ToolbarDemo.views.imageButtons
]
});

0 comments on commit 46f3955

Please sign in to comment.