Mercurial > lada > lada-client
comparison app/view/window/GenProbenFromMessprogramm.js @ 832:d9824c49e781
GenProbenWindow: Resize
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Tue, 16 Jun 2015 10:11:36 +0200 |
parents | e3bd911b576b |
children | 392be36fe3ac |
comparison
equal
deleted
inserted
replaced
831:e3bd911b576b | 832:d9824c49e781 |
---|---|
103 } | 103 } |
104 } | 104 } |
105 }); | 105 }); |
106 } | 106 } |
107 }]; | 107 }]; |
108 this.width = 400; | 108 this.width = 350; |
109 this.height = 300; | 109 this.height = 250; |
110 | 110 |
111 // add listeners to change the window appearence when it becomes inactive | 111 // add listeners to change the window appearence when it becomes inactive |
112 this.on({ | 112 this.on({ |
113 activate: function(){ | 113 activate: function(){ |
114 this.getEl().removeCls('window-inactive'); | 114 this.getEl().removeCls('window-inactive'); |
146 }, { | 146 }, { |
147 xtype: 'datetime', | 147 xtype: 'datetime', |
148 fieldLabel: i18n.getMsg('from'), | 148 fieldLabel: i18n.getMsg('from'), |
149 labelWidth: 90, | 149 labelWidth: 90, |
150 margin: 5, | 150 margin: 5, |
151 width: 300, | |
151 name: 'start', | 152 name: 'start', |
152 format: 'd.m.Y H:i', | 153 format: 'd.m.Y H:i', |
153 period: 'start' | 154 period: 'start' |
154 }, { | 155 }, { |
155 xtype: 'datetime', | 156 xtype: 'datetime', |
156 fieldLabel: i18n.getMsg('to'), | 157 fieldLabel: i18n.getMsg('to'), |
157 labelWidth: 90, | 158 labelWidth: 90, |
158 margin: 5, | 159 margin: 5, |
160 width: 300, | |
159 name: 'end', | 161 name: 'end', |
160 format: 'd.m.Y H:i', | 162 format: 'd.m.Y H:i', |
161 period: 'end' | 163 period: 'end' |
162 }] | 164 }] |
163 }]; | 165 }]; |