SmartGWT 4.0Pro 02/21/2014 build.
Subsequent calls to DateItem/DateTimeItem.setUseMask(true) causes the field height to increase to height of (textfield + label) when Label orientation is set to TOP. See attached image.
Reason why I am calling setUseMask more than once is to update the mask, after changing locale and setting new date formats in DateUtil.
The following may be the offending code in ISC_Forms.js
Subsequent calls to DateItem/DateTimeItem.setUseMask(true) causes the field height to increase to height of (textfield + label) when Label orientation is set to TOP. See attached image.
Reason why I am calling setUseMask more than once is to update the mask, after changing locale and setting new date formats in DateUtil.
The following may be the offending code in ISC_Forms.js
Code:
// If we have a specified height, expand the text box to fill the available space if (this.height && (!this.textFieldProperties || !this.textFieldProperties.height)) { textField.height = this.getInnerHeight(); }
Comment