comparison scripts/gui/waitbar.m @ 21568:3d60ed163b70

maint: Eliminate bad spacing around '='. * Figure.h, PopupMenuControl.cc, annotation-dialog.cc, gl-select.h, files-dock-widget.cc, find-files-dialog.cc, history-dock-widget.cc, file-editor.cc, main-window.cc, webinfo.cc, resource-manager.cc, shortcut-manager.cc, workspace-view.cc, __ichol__.cc, __ilu__.cc, __lin_interpn__.cc, bitfcns.cc, debug.cc, filter.cc, ft-text-renderer.cc, graphics.cc, graphics.in.h, hex2num.cc, jit-typeinfo.cc, load-save.cc, ls-mat5.cc, mxarray.in.h, oct-stream.cc, pr-output.cc, variables.cc, __init_fltk__.cc, __magick_read__.cc, chol.cc, ov-struct.cc, op-scm-cs.cc, pt-assign.cc, CollocWt.cc, randpoisson.c, inputParser.m, quadgk.m, waitbar.m, imwrite.m, __imread__.m, textread.m, fileattrib.m, __xzip__.m, what.m, fsolve.m, fix_depends.m, stemleaf.m, bicgstab.m, ichol.m, io.tst: maint: Eliminate bad spacing around '='.
author Rik <rik@octave.org>
date Wed, 30 Mar 2016 22:09:26 -0700
parents 89fa0694aa2e
children ecce63c99c3f
comparison
equal deleted inserted replaced
21567:3d25f9f4a62b 21568:3d60ed163b70
167 167
168 hbtn = findobj (hf, "type", "uicontrol", "-and", "style", "pushbutton"); 168 hbtn = findobj (hf, "type", "uicontrol", "-and", "style", "pushbutton");
169 cb = get (hf, "createcancelbtn"); 169 cb = get (hf, "createcancelbtn");
170 if (! isempty (cb)) 170 if (! isempty (cb))
171 if (isempty (hbtn)) 171 if (isempty (hbtn))
172 units = get (hax, "units"); 172 units = get (hax, "units");
173 fpos = get (hf, "position"); 173 fpos = get (hf, "position");
174 set (hax, "units", "pixels"); 174 set (hax, "units", "pixels");
175 apos = get (hax, "position"); 175 apos = get (hax, "position");
176 176
177 fpos (2) -= 40; 177 fpos (2) -= 40;
186 else 186 else
187 set (hbtn, "callback", cb); 187 set (hbtn, "callback", cb);
188 endif 188 endif
189 elseif (! isempty (hbtn)) 189 elseif (! isempty (hbtn))
190 delete (hbtn); 190 delete (hbtn);
191 units = get (hax, "units"); 191 units = get (hax, "units");
192 fpos = get (hf, "position"); 192 fpos = get (hf, "position");
193 set (hax, "units", "pixels"); 193 set (hax, "units", "pixels");
194 apos = get (hax, "position"); 194 apos = get (hax, "position");
195 195
196 fpos (2) += 40; 196 fpos (2) += 40;