Roo/BorderLayout.js
authorEdward <edward@roojs.com>
Wed, 9 Apr 2014 08:56:08 +0000 (16:56 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Apr 2014 08:56:08 +0000 (16:56 +0800)
Roo/BorderLayout.js

index 785ce91..7f3bddf 100644 (file)
@@ -202,7 +202,8 @@ Roo.extend(Roo.BorderLayout, Roo.LayoutManager, {
     // private
     safeBox : function(box){
         box.width = Math.max(0, box.width);
-        if(box.height){
+        
+        if(box.height || box.height > 0){
             box.height = box.height;
         }