PDA

View Full Version : Splitbar issues with Iframes within BorderLayout



samsmits
24 Oct 2006, 11:51 AM
Hi Jack,

There's an issue with the splitbars misbehaving when used in combination with iframes.

Basically, I have a iframe thrown into the center with the BorderLayout js, when the iframe tab is active, I am able to drag the splitbar separating the west and center expanding the center. However, I can not expand west (it will not shrink the iframe container).

Is there a workaround?

jack.slocum
24 Oct 2006, 4:30 PM
Replace 'west' with the splitter acting up:

layout.getRegion('west').split.useShim = true;

This will automatically place a div shim over the iframe when the splitter is being dragged.

I will add this as a config option for a region in the coming beta release.