PDA

View Full Version : [INFOREQ] navigation view failure after upgrading to 2.0.1-rc + sdk tools beta 2



bobpardoe
12 Apr 2012, 2:33 AM
The code below is used to show a view. All slid into view correctly before the upgrade but now fails.

Resizing the browser (I'm running this on a linux pc) seems to force a redraw and all components are positioned correctly. Images after the code.

BOb



Ext.define("KN.tls.toolkit.view.Logout",
{
extend : 'Ext.navigation.View',


requires : ["Ext.form.FieldSet", "Ext.form.Panel", "Ext.Button"],


id : "logoutPage",


xtype : 'logoutpage',


config :
{
title : "Log Out",
iconCls : "user",
cls : "logout",


items :
[


{
xtype : "formpanel",
id : "frmLogout",
title : "Log Out",

layout :
{
type : "vbox",
align : "center"
},

items :
[
{
xtype: "spacer"
},
{
xtype : 'fieldset',
cls : "logoutform",
instructions : '\'Go\' to log out or \'Toolkit\' to go back.',

items :
[
{
xtype : "button",
iconCls : "action",
iconMask : true,
id : "btnLogout",
ui : "confirm",
text : "Go",
label: "Log Out",
}
]
},
{
xtype: "spacer"
}


]
}
]


}


});


Before resizing ....

33904

After resizing ...

33903

mitchellsimoens
12 Apr 2012, 6:49 AM
So it happens when you switch tabs? I see in the picture you are using a tab panel.

Jamie Avins
12 Apr 2012, 9:30 AM
Also, be sure you rebuild any custom CSS you may have when upgrading any version as it seems many people forgot to do this.

bobpardoe
12 Apr 2012, 12:30 PM
@mitchel, yes it does

@Jamie, I don't have any, but the comment might be better added to the upgrade overview document