Mercurial > octave-nkf
view test/bug-38565.tst @ 18495:1ec884e5ff00 gui-release
waitbar.m: Force pixel units for waitbar figure (bug #41645).
* waitbar.m: Use "pixel" units when creating waitbar figure so that
the subsequent "position" property is always interpreted properly.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Thu, 20 Feb 2014 16:18:02 +0100 |
parents | b9e510a1f308 |
children |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");