bottom: el_controlbox.outerHeight(true)\r
};\r
\r
+\r
+ // If any elements are not visible, full size the panals instead\r
+ if (!el_toolbar.is(':visible')) {\r
+ css_heights.top = 0;\r
+ }\r
+\r
+ if (!el_controlbox.is(':visible')) {\r
+ css_heights.bottom = 0;\r
+ }\r
+\r
+ // Apply the CSS sizes\r
el_panels.css(css_heights);\r
el_memberlists.css(css_heights);\r
el_resize_handle.css(css_heights);\r
\r
+ // Set the panels width depending on the memberlist visibility\r
if (el_memberlists.css('display') != 'none') {\r
// Handle + panels to the side of the memberlist\r
el_panels.css('right', el_memberlists.outerWidth(true) + el_resize_handle.outerWidth(true));\r