Hi, I see a splitter resizing problem. Is it a bug?
Take this example:
dhtmlx.com/docs/products/dhtmlxL … ayout.html
Make the following change so it’s a 2E layout and the nested layout is attached to cell “b” instead of “a”.
[code]var myLayout, myLayout2;
function doOnLoad() {
myLayout = new dhtmlXLayoutObject({
parent: "layoutObj",
pattern: "2E",
});
myLayout2 = myLayout.cells("b").attachLayout({
pattern: "2E",
cells: [
{id: "a", text: "inner layout a"},
{id: "b", text: "inner layout b"}
]
});
}[/code]
Load in browser, and drag the splitter for the inner layout up as far up as possible (so “inner layout a” is very small).
Now try to move the parent layout’s splitter down. You can’t. But you can move it up.
The only way to make “a” bigger again is to make “inner layout b” smaller by dragging it down.
It seems that whatever calculation is used to get the max available resize height for the parent layout is somehow based on the height of “inner layout a”.
What I need is for the parent 2E layout to behave just like it does with out a nested layout. Right now it behaves just like a 3E layout.
If you change the inner layout pattern to “2U”, then it works as expected.
Hope you can help me find a work around. Thanks!