File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/components/annotations Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -51,22 +51,22 @@ module.exports = {
51
51
} ) ,
52
52
width : {
53
53
valType : 'number' ,
54
- min : 0 ,
55
- dflt : 0 ,
54
+ min : 1 ,
55
+ dflt : null ,
56
56
role : 'style' ,
57
57
description : [
58
- 'Sets an explicit width for the text box. 0 (default) lets the' ,
58
+ 'Sets an explicit width for the text box. null (default) lets the' ,
59
59
'text set the box width. Wider text will be clipped.' ,
60
60
'There is no automatic wrapping; use <br> to start a new line.'
61
61
] . join ( ' ' )
62
62
} ,
63
63
height : {
64
64
valType : 'number' ,
65
- min : 0 ,
66
- dflt : 0 ,
65
+ min : 1 ,
66
+ dflt : null ,
67
67
role : 'style' ,
68
68
description : [
69
- 'Sets an explicit height for the text box. 0 (default) lets the' ,
69
+ 'Sets an explicit height for the text box. null (default) lets the' ,
70
70
'text set the box height. Taller text will be clipped.'
71
71
] . join ( ' ' )
72
72
} ,
You can’t perform that action at this time.
0 commit comments