View Full Version : Accordion/Tree heigh issues

24 May 2011, 7:15 AM
I have a border layout. In the West region I'm trying to create two items
1. Accordion Panel wich contains tree views
2. A panel with a legend.

The accordion panel works by itself with no problems, the issue is when I try to add the legend panel. My accordion does not expand to show its conetnts.

I'm adding the accordion dynamically with

//doLayout on West region panel

Any thoughts?

Here is the West panel code in the viewport.

region: 'west',
id: 'menuPanel',
title: 'Menu',
split: true,
width: 225,
minSize: 175,
maxSize: 250,
collapsible: true,
margins: '0 0 0 5',
items: [{
layout: 'accordion',
id: 'acc-menu'
border: false,
html : 'some legend here...'