Threaded View

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Vote Rating
    stirucherai is on a distinguished road


    Default Panel within a Modal Panel

    Panel within a Modal Panel


    I have requirement to show a list and Panel (with component later) in a modal panel. Following is my observation

    1. Modal panel expects width and height to provided for its elements (Flex does not work). Again width and height has to be in pixel -- % does not work (it works only for the Modal Panel only)
    2. List element is getting displayed no issues but when we add a panel it does not get displayed -- i tried with background color setting
    3. When we add html : " Some text" to the panel takes the width to the size of text only even though we have declared a bigger value for width. Intrestingly if we provide width alone in '%' then it works but height had to be always in PIXEL

    Can someone help what I am doing wrong or is it bug. Attaching the modal panel declaration code.

    Ext.define('NDP.view.menuSetting', {
        extend: 'Ext.Panel',
        xtype: 'menuSetting',
        config: {
            modal: true,
            hideOnMaskTap: true,
            centered: true,
            height: '90%',
            width: '90%',
            layout: {
                animation: {
                    type: 'slide',
                    duration: 500
                    xtype: 'toolbar',
                    title: 'Agent Details',
                    docked: 'top'
                    xtype: 'panel',
                    items :[
               xtype: 'list',
               store: 'menuList',
            itemTpl:'<span class="item-title">{menuName}</span><tpl if="leaf !== true"><span class="x-list-disclosure"></span></tpl>',
             html:'This is for testing',
    Last edited by stirucherai; 14 Dec 2011 at 9:46 PM. Reason: Code is not visible correctly

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi