Mercurial > lada > lada-client
diff app/view/messungen/Edit.js @ 508:ae8582b4f207
Refactored messung edit window layout (LSB 3.8).
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Sat, 13 Dec 2014 14:11:43 +0100 |
parents | 7c0653e8d9f7 |
children | 8818becb8cde |
line wrap: on
line diff
--- a/app/view/messungen/Edit.js Sat Dec 13 14:10:40 2014 +0100 +++ b/app/view/messungen/Edit.js Sat Dec 13 14:11:43 2014 +0100 @@ -18,8 +18,7 @@ title: 'Maske für Messungen', autoShow: true, - autoScroll: true, - modal: true, + layout: 'fit', initComponent: function() { var form = Ext.create('Lada.view.messungen.EditForm', @@ -33,9 +32,13 @@ scope: this, handler: this.close }]; - this.width = Ext.getBody().getViewSize().width - 30; - this.height = Ext.getBody().getViewSize().height - 30; - this.items = [form]; + this.width = 700; + this.maxHeight = Ext.getBody().getViewSize().height - 57; + this.items = [{ + border: 0, + autoScroll: true, + items: [form] + }]; this.callParent(); } });