www.gusucode.com > sigtools 工具箱matlab源码程序 > sigtools/@siggui/@actionclosedlg/dialog_gui_sizes.m
function sz = dialog_gui_sizes(this) %DIALOG_GUI_SIZES Special case the minwidth. % Author(s): J. Schickler % Copyright 1988-2008 The MathWorks, Inc. sz = gui_sizes(this); if hashelp(this) sz.minwidth = 200*sz.pixf; else sz.minwidth = 160*sz.pixf; end sz.minheight = 50 *sz.pixf; sz.button = [0 2*sz.vfus 0 sz.bh]; if isrendered(this) && ishghandle(this.FigureHandle), y = sz.button(2)+sz.button(4)+sz.vfus; figpos = figuresize(this); sz.controls = [sz.hfus y figpos(1)-2*sz.hfus figpos(2)-y-sz.vfus]; else sz.controls = []; end % [EOF]