Results 1 to 3 of 3

Thread: [2.1] Column layout resize only workable in FireFox ?

  1. #1
    Sencha User
    Join Date
    Mar 2008
    Posts
    27

    Default [2.1] Column layout resize only workable in FireFox ?

    Dear All:
    I encounter a resize problem,below is my code:
    Code:
         Ext.onReady(function()
         {
             Ext.QuickTips.init();
    	      var pnl= new Ext.Viewport(
    							{
    							xtype:"panel",
    							title:"Panel",
    							layout:"absolute",
    							width:500,
    							height:400,
    							items:[{
    							    layout:"column",
    							    y:"20",
    							    width:250,
    							    items:[{
    							        title:"aa",
    							        width:55,
    							        html:'aaa;',
    							        resizable:true
    							      },{
    							        title:"bb",
    							        id:'headCol1',
    							        width:50,
    							        html:'bbbb;',
    							        resizable:true
    							      },{
    							        title:"dd",
    							        width:111,
    							        html:'ccc',
    							        resizable:true
    							      }]
    							  }]
    							}
    
    		);
    	pnl.doLayout();
    	pnl.show();
    
    
    	
        var resizer = new Ext.Resizable('headCol1', {
            handles: 'e',
            minWidth: 50,
            minHeight: 10,
            maxWidth: 100,
            pinned: true
         });
          resizeHandl= function(thisObj, width, height, eventObj ){
          	 console.log(' resized ');
          }; 
          resizer.on('resize',resizeHandl);  
    	
    	
    	  });
    I am using ext2.1,my posted code works in firefox,but can not perform resize function in IE6/IE7
    thanks for any reply

    Regards

    john

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    The column width is managed by the column layout manager. You cannot do it like that.

    Try changing the Panel's columnWidth setting and then calling doLayout on the Container.

  3. #3
    Sencha User
    Join Date
    Mar 2008
    Posts
    27

    Default

    Thank you,Dear Animal
    The resizer is so small at the right-top of the column
    I have to lookup it carefully

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •