diff --git a/js/app/views/IntervalUI.js b/js/app/views/IntervalUI.js index 859ea34..57440ec 100644 --- a/js/app/views/IntervalUI.js +++ b/js/app/views/IntervalUI.js @@ -202,16 +202,18 @@ Ext.define('amdaUI.IntervalUI', { getDateField : function(fieldName,fieldText,fieldId,onChangeField) { return { - layout: {type: 'hbox', align: 'middle'}, + layout: {type: 'hbox', align: 'strech'}, items: [{ xtype: 'datefield', margin : '10 0 0 5', // (top, right, bottom, left). name: fieldName, + // flex : 1, // flex or width + width : 220, emptyText: 'YYYY/MM/DD hh:mm:ss', - tip: 'Date formated as YYYY/MM/DD hh:mm:ss', + tip: 'Date formatted as YYYY/MM/DD hh:mm:ss', format: 'Y/m/d H:i:s', - enforceMaxLength: true, - maxLength: 19, + enforceMaxLength: true, + maxLength: 19, fieldLabel: fieldText, labelAlign: 'left', labelWidth: 60, -- libgit2 0.21.2