PDA

View Full Version : Toolbar Button UI not displaying



dfgrumpy
9 Aug 2010, 7:49 AM
The code below generated the logout button as expected. However, the ui around the button is missing. I can't figure out where I have gone wrong to get it to display.



this.logOutBtn = new Ext.Button({
text: 'Logout',
ui: 'default',
hidden: false,
handler: this.doLogOut
});
this.toolbar = new Ext.Toolbar({
title: 'VISION',
dock: 'top',
layout: {
pack: 'end'
},
defaults: {
scope: this,
ui: 'mask'
},
items: [{flex: 1}, this.logOutBtn]
});



Thanks,

--Dave

eldiego34
12 Aug 2010, 10:55 AM
Which ui do you want to display? Because you put in your code 'default'.

Bye.

Saludo

evant
12 Aug 2010, 6:46 PM
What effect are you trying to achieve?