Browse Source

Merge pull request #7453 from simoncpu/master

Expose the text widget's maximum length.
Tim van der Meij 9 years ago committed by GitHub
parent
commit
b6826a46a8
  1. 1
      src/core/annotation.js

1
src/core/annotation.js

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

Loading…
Cancel
Save