this.dialog = Roo.factory({
xtype: 'LayoutDialog',
xns: Roo,
+ listeners : {
+ show : function (_self)
+ {
+ this.form.findField('name').focus();
+
+ }
+ },
closable : false,
collapsible : false,
- height : 140,
+ height : 120,
resizable : false,
title : "Edit / Create Category Type",
width : 400,
xns: Roo.form,
fieldLabel : 'Name',
name : 'name',
- width : 200
+ width : 240
},
{
xtype: 'Hidden',