extjs - Sencha Touch 2.2.0 form panel does not show up -


it empty.

ext.define('odtu.view.main', {     extend: 'ext.tab.panel',     xtype: 'main',     requires: [         'ext.titlebar',         'ext.video',         'ext.form.panel',         'ext.form.fieldset',         'ext.field.password',         'ext.field.email'     ],     config: {         tabbarposition: 'bottom',          items: [             {                 title: 'giriş',                 iconcls: 'home',                  stylehtmlcontent: true,                 scrollable: true,                  items: [                 {                     docked: 'top',                     xtype: 'titlebar',                     title: 'm.odtu.lu'                 },                 {                     xtype: 'formpanel',                     url: 'register.php',                     items:{                         xtype: 'fieldset',                         items:                         [                             {                                 xtype: 'textfield',                                 name : 'name',                                 label: 'name'                             },                             {                                 xtype: 'emailfield',                                 name : 'email',                                 label: 'email'                             },                             {                                 xtype: 'passwordfield',                                 name : 'password',                                 label: 'password'                             }                         ]                     }                 }                 ]             },             {                 title: 'kaydol',                 iconcls: 'compose',                  items: [                     {                         docked: 'top',                         xtype: 'titlebar',                         title: 'kaydol'                     },                     {                         xtype: 'video',                         url: 'http://av.vimeo.com/64284/137/87347327.mp4?token=1330978144_f9b698fea38cd408d52a2393240c896c',                         posterurl: 'http://b.vimeocdn.com/ts/261/062/261062119_640.jpg'                     }                 ]             }         ]     } }); 

enter image description here

set height formpanel

{   ...   height: 100 // instance   ... } 

or can use fit layout on giriş panel if want formpanel take whole height

{   title: 'giriş',   iconcls: 'home',   layout: 'fit'   ... } 

hope helps


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -