0
votes

How to get panel collapse (expand) tool reference in border layout when panel is collapsed?

I can only get the collapse tool (left) reference and not the expand tool (right) when panel is collapsed.

Fiddle: https://fiddle.sencha.com/#view/editor&fiddle/1tlv

1

1 Answers

2
votes

The expand tool is on a placeholder component within the panel, rather than a tool of the panel itself.

You can reach the expand-right tool with panel.getPlaceholder().tools["expand-right"]

I've updated your fiddle with this.