Mercurial > octave
changeset 25981:63b3d5e4e5c3
Allow 'cdata' property of uicontrol to be set to '[]' (bug #54918).
* graphics.in.h (uicontrol::properties::init): Add size constraint
of "dim_vector (0,0)" to cdata property.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 30 Oct 2018 09:33:34 -0700 |
parents | 221c039aa415 |
children | d7e2fd922288 |
files | libinterp/corefcn/graphics.in.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h Sun Oct 28 21:56:40 2018 +0100 +++ b/libinterp/corefcn/graphics.in.h Tue Oct 30 09:33:34 2018 -0700 @@ -5474,6 +5474,7 @@ cdata.add_constraint ("single"); cdata.add_constraint ("uint8"); cdata.add_constraint (dim_vector (-1, -1, 3)); + cdata.add_constraint (dim_vector (0, 0)); position.add_constraint (dim_vector (1, 4)); sliderstep.add_constraint (dim_vector (1, 2)); fontsize.add_constraint ("min", 0.0, false);