Results 1 to 2 of 2

Thread: Can't change 'docked'

    You found a bug! We've classified it as TOUCH-3804 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    443
    Vote Rating
    18
      0  

    Default Can't change 'docked'

    REQUIRED INFORMATION


    Ext version tested:
    • Sencha Touch 2.1


    Browser versions tested against:
    • Chrome 23.0.1271.95 for Mac


    DOCTYPE tested against:
    • html


    Description:
    • Calling 'setDocked' doesn't change the position of the docked item.


    Steps to reproduce the problem:
    • Load the code below, and click 'change'.


    The result that was expected:
    • The component on the left moves to the right.


    The result that occurs instead:
    • The component doesn't move.


    Test Case:

    Code:
    Ext.define('MyView', {
    	extend: 'Ext.Container',
    	config: {
    		itemId: 'main',
    		fullscreen: true,
    		items: [{
    			itemId: 'left',
    			docked: 'left',
    			html: 'left'
    		},{
    			items: [{
    				xtype: 'button',
    				text: 'change',
    				handler: function(button) {
    					button.up('#main').down('#left').setDocked('right');
    				}
    			}]
    		}]
    	}
    });
    var view = Ext.create('MyView');


    HELPFUL INFORMATION


    Screenshot or Video:
    • N/A


    See this URL for live test case: N/A


    Debugging already done:
    • none


    Possible fix:
    • not provided


    Additional CSS used:
    • only default ext-all.css


    Operating System:
    • Mac OS 10.8.2

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,411
    Vote Rating
    1290
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Tags for this Thread

Posting Permissions

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