Commit adcbf81b76c36b7718b7f1954454717c4815fe6f
1 parent
4210d375
Exists in
master
and in
106 other branches
redmine 6828 - delete additional layout
Showing
1 changed file
with
3 additions
and
6 deletions
Show diff stats
js/app/views/IntervalUI.js
@@ -202,12 +202,10 @@ Ext.define('amdaUI.IntervalUI', { | @@ -202,12 +202,10 @@ Ext.define('amdaUI.IntervalUI', { | ||
202 | getDateField : function(fieldName,fieldText,fieldId,onChangeField) | 202 | getDateField : function(fieldName,fieldText,fieldId,onChangeField) |
203 | { | 203 | { |
204 | return { | 204 | return { |
205 | - layout: {type: 'hbox', align: 'strech'}, | ||
206 | - items: [{ | ||
207 | xtype: 'datefield', | 205 | xtype: 'datefield', |
208 | - margin : '10 0 0 5', // (top, right, bottom, left). | 206 | + // margin : '10 0 5 5', // (top, right, bottom, left). |
209 | name: fieldName, | 207 | name: fieldName, |
210 | - // flex : 1, // flex or width | 208 | + // anchor : 100%, |
211 | width : 220, | 209 | width : 220, |
212 | emptyText: 'YYYY/MM/DD hh:mm:ss', | 210 | emptyText: 'YYYY/MM/DD hh:mm:ss', |
213 | tip: 'Date formatted as YYYY/MM/DD hh:mm:ss', | 211 | tip: 'Date formatted as YYYY/MM/DD hh:mm:ss', |
@@ -227,7 +225,6 @@ Ext.define('amdaUI.IntervalUI', { | @@ -227,7 +225,6 @@ Ext.define('amdaUI.IntervalUI', { | ||
227 | }, | 225 | }, |
228 | scope : this | 226 | scope : this |
229 | } | 227 | } |
230 | - }] | ||
231 | }; | 228 | }; |
232 | }, | 229 | }, |
233 | 230 | ||
@@ -294,7 +291,7 @@ Ext.define('amdaUI.IntervalUI', { | @@ -294,7 +291,7 @@ Ext.define('amdaUI.IntervalUI', { | ||
294 | plain: true, | 291 | plain: true, |
295 | flex: 1, | 292 | flex: 1, |
296 | layout: 'anchor', | 293 | layout: 'anchor', |
297 | - defaults: { margin: '0 0 5 0', xtype : 'container'}, | 294 | + defaults: { margin: '10 0 5 5', xtype : 'container'}, |
298 | items: [ | 295 | items: [ |
299 | me.getStartField(), | 296 | me.getStartField(), |
300 | me.getStopField(), | 297 | me.getStopField(), |