-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi there
i have a problem with borderlayout. I am not able to handle content changes in center area in a proper way.
See my comment for a code sample
You have to click on SubMenu 1 and after that on Menu 3. The content is not fully shown. Nearly the half table is missing. I could call invalidate() on the container divs and after that resize() on borderlayout after every MenuClick. But i can't handle user interactions like sorting a table (of course i could but it will cost a lot of time ...) what can cause a larger table (in height). The result is the same, missing content.
Greetings
There are several issues in the fiddle above:
1st. Do not use vflex attribute and height attribute at the same time, choose one of them.
2nd. All parents of the component has vflex="Integer" should have vflex="Integer".
3rd. All child of the component has vflex="min" should not have vflex="Integer".
You can specify
style="overflow: auto;"
to divCenter then vertical scrollbar appears and can see whole listbox.
please refer to updated fiddle http://zkfiddle.org/sample/krllcj/45-Size-Problem-with-Borderlayout
Asked: 2014-02-20 11:02:50 +0800
Seen: 18 times
Last updated: Feb 21 '14
http://zkfiddle.org/sample/krllcj/38-Size-Problem-with-Borderlayout
salbader ( 2014-02-20 11:02:57 +0800 )edit