我要记住的

    技术2022-05-19  22

    1、动态设置文本框是否多行和自动换行时,例如

    this.vCommonDialog.textField.multiline = textlength > 48;

    this.vCommonDialog.textField.wordWrap = textlength > 48;

    this.vCommonDialog.height = this.vCommonDialog.textHeight;

    设置高度在前在后有不同的效果,高度在前有时换行后宽度发生变化;WHY


    最新回复(0)