PDA

View Full Version : screen issue in portrait and landscape on mobile



nakul_sagar
6 May 2012, 10:25 PM
hi... i hav a queury here. i build an application on mobile . but facing problem in screen . i am screens are displaying properly only when i view portrait or only in landscape . if i try to see landscape when initial starts seeing in portrait view , my screens are not accumulating the position properly . can any1 help me to come out of this issue..

thanks in advance:)

scottmartin
10 May 2012, 4:00 PM
Are you using Ext or is this a touch app? Are the screens not scaling. Can you provide more details or a screen?

Scott.

nakul_sagar
10 May 2012, 9:01 PM
i m using Ext . the below image not accumulating values properly in list. it is changing its position when i turn the sreen frm portrait to landscape and vice versa..
And i also mentioned this code in my program still it is no use..

if (Ext.is.Phone) {
formBase.fullscreen = true;
formBase.centered = true;
formBase.autoRender= true;
}

else {
Ext.apply(formBase, {
autoRender: true,
floating: true,
modal: true,
centered: true,
hideOnMaskTap: false,
height:'100%',
width: '100%',


});
}

form = new Ext.form.FormPanel(formBase);
return form;
35089