Mercurial > lada > lada-client
view app/view/zusatzwerte/Create.js @ 145:89e331978e33
Changed size of kommentare window. Only use minimum required space.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 01 Jul 2013 14:07:58 +0200 |
parents | 7b1140bd8b3d |
children | e7665edf953f |
line wrap: on
line source
Ext.define('Lada.view.zusatzwerte.Create', { extend: 'Ext.window.Window', alias: 'widget.zusatzwertecreate', title: 'Maske für Zusatzwerte', // 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, autoShow: true, autoScroll: true, modal: true, initComponent: function() { var form = Ext.create('Lada.view.zusatzwerte.CreateForm', this.initialConfig); this.items = [form]; this.buttons = [ { text: 'Speichern', scope: form, action: 'save' } ]; this.callParent(); } });