# HG changeset patch # User Pantxo Diribarne # Date 1392909482 -3600 # Node ID 1ec884e5ff009030f382f231dc9e5e73e29efbaf # Parent 3cac3d7f003fd243fa4ceaf3e52e442e0ced461d 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. diff -r 3cac3d7f003f -r 1ec884e5ff00 scripts/gui/waitbar.m --- a/scripts/gui/waitbar.m Thu Feb 20 11:52:58 2014 -0500 +++ b/scripts/gui/waitbar.m Thu Feb 20 16:18:02 2014 +0100 @@ -106,7 +106,8 @@ ## Save and restore current figure cf = get (0, "currentfigure"); - hf = figure ("position", [250, 500, 400, 100], + hf = figure ("units", "pixels", + "position", [250, 500, 400, 100], "numbertitle", "off", "menubar", "none", "toolbar", "none", "integerhandle", "off",