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
    411
    Vote Rating
    17
    jweber will become famous soon enough

      0  

    Default Can't change 'docked'

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,633
    Vote Rating
    817
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


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

Thread Participants: 1

Tags for this Thread