PDA

View Full Version : Screen Resolution Issue



suryaphani
28 Mar 2012, 5:09 AM
I have developed some web pages using EXTJS 4, pages are viewed properly in desktop but the same page when opened in a laptop it is not rendering properly...there is some screen resolution issue.. could you please helpme out in this.

tobiu
28 Mar 2012, 5:49 AM
we definitely need more input to help you with this. same os, same browser? are building a full ext js app or are you building a html page with some ext components inside etc.

suryaphani
9 Apr 2012, 9:04 AM
yes laptop and desktop are having same os(windows xp) and browser (IE 8). The application is fully developed in extjs 4.0.7 using mvc architecture. Here iam posting the piece of code in app.js Ext.Loader.setConfig({enabled:true});
Ext.application({
name: 'Sample',
appFolder: 'App',
controllers: [
'HomePageController'

],
launch: function() {
Ext.create('Ext.container.Viewport', {
frame:false,
border: true,
bodyStyle:'background-color:#F8F8FF;padding-left:15px;',
renderTo: Ext.getBody(),
autoScroll:true,

items: [
{
xtype: 'header',
region:'east',
width:12
},
{
region:'north',
xtype:'header'
},


{

region:'center',
xtype:'homePage'
},

{
region:'south',
xtype:'footer'
} ,

]
});
}
});