From c8017c3677a26da9905c36b2a4beeb151d93cf73 Mon Sep 17 00:00:00 2001
From: Renaud Le Gac <renaud.legac@free.fr>
Date: Sat, 27 Nov 2010 16:23:34 +0000
Subject: [PATCH] Modify layout policy for central panel. Composant will use
 all the space available and AutoScroll to true.

---
 static/plugin_dbui/lib/appviewportcfg.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/static/plugin_dbui/lib/appviewportcfg.js b/static/plugin_dbui/lib/appviewportcfg.js
index fb50363a..b3d6f6e3 100644
--- a/static/plugin_dbui/lib/appviewportcfg.js
+++ b/static/plugin_dbui/lib/appviewportcfg.js
@@ -43,6 +43,8 @@ App.viewport.cfg.withTreeAndTabPanels = {
 			region: 'center',
 			xtype: 'tabpanel',
 			ref: 'tabPanel',
+			autoScroll: true,
+			defaults: {layout: 'fit'},
 		}
 	],
 };
-- 
GitLab