Browse Source

重载输入框的光标事件方法,不管是光标移出还是按下回车(enter),会立即触发表单移动端高度属性的setter方法,并给出弹窗提示。

master
Lee 9 years ago
parent
commit
75ecd607cd
  1. 4
      designer_base/src/com/fr/design/mainframe/widget/editors/FormattedEditor.java

4
designer_base/src/com/fr/design/mainframe/widget/editors/FormattedEditor.java

@ -36,11 +36,11 @@ public class FormattedEditor extends AbstractPropertyEditor {
public void keyReleased(KeyEvent e) {
try {
textField.commitEdit();
textField.commitEdit();
return;
} catch (ParseException e1) {
return;
}
firePropertyChanged();
}
});
}

Loading…
Cancel
Save