Commit adcbf81b76c36b7718b7f1954454717c4815fe6f

Authored by Elena.Budnik
1 parent 4210d375

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 202 getDateField : function(fieldName,fieldText,fieldId,onChangeField)
203 203 {
204 204 return {
205   - layout: {type: 'hbox', align: 'strech'},
206   - items: [{
207 205 xtype: 'datefield',
208   - margin : '10 0 0 5', // (top, right, bottom, left).
  206 + // margin : '10 0 5 5', // (top, right, bottom, left).
209 207 name: fieldName,
210   - // flex : 1, // flex or width
  208 + // anchor : 100%,
211 209 width : 220,
212 210 emptyText: 'YYYY/MM/DD hh:mm:ss',
213 211 tip: 'Date formatted as YYYY/MM/DD hh:mm:ss',
... ... @@ -227,7 +225,6 @@ Ext.define('amdaUI.IntervalUI', {
227 225 },
228 226 scope : this
229 227 }
230   - }]
231 228 };
232 229 },
233 230  
... ... @@ -294,7 +291,7 @@ Ext.define('amdaUI.IntervalUI', {
294 291 plain: true,
295 292 flex: 1,
296 293 layout: 'anchor',
297   - defaults: { margin: '0 0 5 0', xtype : 'container'},
  294 + defaults: { margin: '10 0 5 5', xtype : 'container'},
298 295 items: [
299 296 me.getStartField(),
300 297 me.getStopField(),
... ...