Threaded View

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    11
    Vote Rating
    2
    the_Chameleon is on a distinguished road

      0  

    Default resize element in panel

    resize element in panel


    Hello everybody,
    I need your help.
    how can i do if i want to change height of element in my view?
    I use "chrome extension Window Resizer 1.7.0".
    When i resize my page (to 320 x 480), the width of elements are ok but height doesn't change.
    Why?
    This is my code :
    Code:
    Ext.define('Atix.view.Param', {
        extend: 'Ext.Container',
        xtype : 'paramView',
        requires: ['Ext.Toolbar','Ext.Label','Ext.Button','Ext.field.Select', 'Ext.form.Panel', 'Ext.field.Checkbox'],
        config:{
            layout:'vbox',
      items:
      [
            {
                 xtype: 'panel',
                    layout:'vbox',
                 items: [
                        {
                             xtype: 'label',
                                docked:'top',
                             html: 'Notifications'
                         },
                            {
                                xtype: 'fieldset',
                                docked:'top',
                                title: 'Choisissez le type de notification souhait&eacute',
                                id: 'paramBox',
                                items: [
                                         {
                                             xtype: 'checkboxfield',
                                             name : 'jobs',
                                             label: 'Offres d\'emplois',
                                             labelAlign : 'right',
                                             labelWidth:'70%'
                                         },
                                         {
                                             xtype: 'checkboxfield',
                                             name : 'actu',
                                             label: 'Actualités',
                                             labelAlign : 'right',
                                             labelWidth:'70%'
                                          },
                                          {
                                             xtype: 'checkboxfield',
                                             name : 'event',
                                             label: 'Evènements',
                                             labelAlign : 'right',
                                             labelWidth:'70%'
                                         }
                                ]
                            },
                            {
                                xtype: 'label',
                                docked:'top',
                                html: 'Localisation'
                            },
                            {
                                xtype: 'fieldset',
                                id:'localizOffre',
                                docked:'top',
                                title: 'Localisez les offres d\'emploi a proximité de chez vous',
                                items: [
                                    {
                                        xtype: 'selectfield',
                                        options: [
                                            {text: "5km",  value: "5"},
                                            {text: "10km", value: "10"},
                                            {text: "15km", value: "15"}
                                        ],
                                        labelWidth:'50%',
                                        style: 'font-size: 75%'
                                    }
                                ]
                            }
                     ]
                },
                {
                    xtype: 'panel',
                    layout:'vbox',
                    items: [
                    ]
                },
                {
                    xtype: 'label',
                    html: 'Atix sur le Web'
                } ,
                {
                    xtype: 'itemReseau',
                    flex:1,
                    style: 'font-size: 75%'
                }    ]}
    });
    Last edited by mitchellsimoens; 30 Nov 2012 at 8:11 AM. Reason: add quote for my code

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar