diff app/view/About.js @ 387:6952e5dc9861

Changed size of about window
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 30 Aug 2013 11:17:08 +0200
parents 00bf2d4f3bd1
children 9591ca90d58d
line wrap: on
line diff
--- a/app/view/About.js	Fri Aug 30 11:11:00 2013 +0200
+++ b/app/view/About.js	Fri Aug 30 11:17:08 2013 +0200
@@ -8,11 +8,12 @@
     title: 'Lada Information',
     // Make size of the dialog dependend of the available space.
     // TODO: Handle resizing the browser window.
-    width: Ext.getBody().getViewSize().width - 30,
-    height: Ext.getBody().getViewSize().height - 30,
+    width: 200,
+    height: 200,
     autoShow: true,
     autoScroll: true,
     modal: true,
+    layout: "fit",
 
     initComponent: function() {
         var sver = "tests"

http://lada.wald.intevation.org