From adcbf81b76c36b7718b7f1954454717c4815fe6f Mon Sep 17 00:00:00 2001 From: Elena.Budnik Date: Fri, 8 Mar 2019 13:07:37 +0100 Subject: [PATCH] redmine 6828 - delete additional layout --- js/app/views/IntervalUI.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/js/app/views/IntervalUI.js b/js/app/views/IntervalUI.js index 57440ec..2e657d6 100644 --- a/js/app/views/IntervalUI.js +++ b/js/app/views/IntervalUI.js @@ -202,12 +202,10 @@ Ext.define('amdaUI.IntervalUI', { getDateField : function(fieldName,fieldText,fieldId,onChangeField) { return { - layout: {type: 'hbox', align: 'strech'}, - items: [{ xtype: 'datefield', - margin : '10 0 0 5', // (top, right, bottom, left). + // margin : '10 0 5 5', // (top, right, bottom, left). name: fieldName, - // flex : 1, // flex or width + // anchor : 100%, width : 220, emptyText: 'YYYY/MM/DD hh:mm:ss', tip: 'Date formatted as YYYY/MM/DD hh:mm:ss', @@ -227,7 +225,6 @@ Ext.define('amdaUI.IntervalUI', { }, scope : this } - }] }; }, @@ -294,7 +291,7 @@ Ext.define('amdaUI.IntervalUI', { plain: true, flex: 1, layout: 'anchor', - defaults: { margin: '0 0 5 0', xtype : 'container'}, + defaults: { margin: '10 0 5 5', xtype : 'container'}, items: [ me.getStartField(), me.getStopField(), -- libgit2 0.21.2