Merge pull request #7453 from simoncpu/master

Expose the text widget's maximum length.
This commit is contained in:
Tim van der Meij 2016-07-07 01:03:40 +02:00 committed by GitHub
commit b6826a46a8

View File

@ -659,6 +659,7 @@ var TextWidgetAnnotation = (function TextWidgetAnnotationClosure() {
WidgetAnnotation.call(this, params);
this.data.textAlignment = Util.getInheritableProperty(params.dict, 'Q');
this.data.maxLen = Util.getInheritableProperty(params.dict, 'MaxLen');
}
Util.inherit(TextWidgetAnnotation, WidgetAnnotation, {