[Lada-commits] [PATCH] Changed size of about window

Wald Commits scm-commit at wald.intevation.org
Fri Aug 30 11:18:46 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1377854228 -7200
# Node ID 6952e5dc9861a8a567a160c0b11b2974204281bf
# Parent  00bf2d4f3bd1c5a778973c8702776c42340c4cec
Changed size of about window

diff -r 00bf2d4f3bd1 -r 6952e5dc9861 app/view/About.js
--- 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"


More information about the Lada-commits mailing list