www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@xregGui/@uitoolbar/pNotifyNewButtonSize.m

    function pNotifyNewButtonSize(obj, butobj)
%PNOTIFYNEWBUTTONSIZE Notify toolbar that button size has altered
%
%  PNOTIFYNEWBUTTONSIZE(OBJ, BUTTON) is used by toolbar children to nofify
%  the toolbar that their size has altered.  Cached information in the
%  toolbar is then updated and redraws triggered if required.

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


obj.hRenderer.notifyNewSize(butobj);