I am trying to create the following layout:
--------------------
| | |
| | |
| | |
| | |
| |---------|
| | |
| | |
--------------------
I want to resize it vertically and horizontally.
Here is my code:
<div easyui-layout class="easyui-layout" style="width:70%;height:80%;" fit="true">
<div data-options="region:'west',title:'west',split:true" style="width:25%;">
</div>
<div easyui-layout class="easyui-layout" region="center" fit="true">
<div data-options="region:'center',split:false"></div>
<div data-options="region:'north',split:true" style="height:20%;"></div>
</div>
</div>
And controller:
explorer.directive('easyuiLayout', function () {
return {
restrict: 'AE',
link: function (scope, elem, attrs) {
$(elem).layout();
}
}
});
It works at most part.
My problem is when resizing it vertically first will show the right edge of the layout. Screenshot is attached.
Thanks