4

I am using border layout with two panels in east and center as its items and by default if i make the east panel collapsible then it will resize the center panel when expanded or collapsed. I want to know if this nature can be changed in such a way that when the east panel is expanded , it overlays on the center panel rather than sharing the total width it. Below image might give some idea what i want to achieve. enter image description here

thanks !

Vinay
  • 723
  • 9
  • 32

1 Answers1

3

By default the panel is floatable, so just need to hide the collapse tool to achieve it

Sample fiddle: https://fiddle.sencha.com/#fiddle/1gs

newmount
  • 1,921
  • 1
  • 12
  • 10
  • 1
    thanks @newmount that code works...i would still like to know if there is any possible way of doing this same thing with the collapsible button config set to true ? – Vinay Nov 12 '13 at 07:12
  • also if configured this way will the expand and collapse events of east panel fire because i am not able to capture them right now..! – Vinay Nov 12 '13 at 07:16
  • use 'float' and 'unfloat' events.. updated the fiddle – newmount Nov 12 '13 at 08:45
  • I got the same problem anyone can provide idea? i have spent two days searching no luck – Meas Jul 28 '14 at 03:00