-
6 Dec 2012 11:32 AM #1
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
-
6 Dec 2012 11:43 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
Thanks for the report! I have opened a bug in our bug tracker.
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.


Reply With Quote