mardi 6 mai 2014

POPUP VIEW SHOWING NO ITEMS IN WINDOWS IE

Hey i have different popup views which work very well in chrome and safari when am using the windows theme.

The problem is when i try to browse the app using IE the popups do not show any thing apart from what is on the titlebars or toolbars of the view. One of the views has the given code, but the textarea doesnot appear any where on postContainer.show().

Thanks


Code:



Ext.define('Forex.view.PostContainer', { extend: 'Ext.form.Panel',
xtype: 'postContainer',
alias: "widget.postContainer",
requires: [],
initialize: function() {
var toolbar = {
xtype: "toolbar",
align:"left",
docked: "top",
items:[
{xtype:'spacer'},
{
xtype:'button',
text:'Post',
name:'post_feed',
itemId:'post_feed_btnId',
align:'right'
}
]



};
var text = {
xtype: 'fieldset',
// title: 'Set your reminder Message',
defaults: {
labelWidth: '35%'
},
items: [


{
xtype: 'textareafield',

itemId:'tippost_areafield',
name : 'message'
}
]




};
//add toolbar, searchbar and notelist into this new container in sequence
this.add([toolbar,text ]);
},


config: {
scrollable:false,
hidden: true,
modal: true,
hideOnMaskTap: true,
itemId:'postContainer_id',
width: '80%',
height: '100%',
layout: {
type: 'fit',
},
defaults: {

labelWidth: '40%'
},


listeners:[


]

});




Aucun commentaire:

Enregistrer un commentaire