Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
507:0c277c02eaef | 508:ae8582b4f207 |
---|---|
16 'Lada.view.messungen.EditForm' | 16 'Lada.view.messungen.EditForm' |
17 ], | 17 ], |
18 | 18 |
19 title: 'Maske für Messungen', | 19 title: 'Maske für Messungen', |
20 autoShow: true, | 20 autoShow: true, |
21 autoScroll: true, | 21 layout: 'fit', |
22 modal: true, | |
23 | 22 |
24 initComponent: function() { | 23 initComponent: function() { |
25 var form = Ext.create('Lada.view.messungen.EditForm', | 24 var form = Ext.create('Lada.view.messungen.EditForm', |
26 this.initialConfig); | 25 this.initialConfig); |
27 this.buttons = [{ | 26 this.buttons = [{ |
31 }, { | 30 }, { |
32 text: 'Abbrechen', | 31 text: 'Abbrechen', |
33 scope: this, | 32 scope: this, |
34 handler: this.close | 33 handler: this.close |
35 }]; | 34 }]; |
36 this.width = Ext.getBody().getViewSize().width - 30; | 35 this.width = 700; |
37 this.height = Ext.getBody().getViewSize().height - 30; | 36 this.maxHeight = Ext.getBody().getViewSize().height - 57; |
38 this.items = [form]; | 37 this.items = [{ |
38 border: 0, | |
39 autoScroll: true, | |
40 items: [form] | |
41 }]; | |
39 this.callParent(); | 42 this.callParent(); |
40 } | 43 } |
41 }); | 44 }); |