www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcmultiview/@EtchedViewContainer/pConfigurePanel.m

    function pConfigurePanel(obj, hPanel)
%PCONFIGUREPANEL Configure a uipanel for use as the main Panel
%
%  PCONFIGUREPANEL(OBJ, PANEL) is called to configure the object that is
%  used as the main panel in the ViewContainer

%  Copyright 2011 The MathWorks, Inc.


obj.super('pConfigurePanel', hPanel);
set(hPanel, 'BorderType', 'etchedin');
set(hPanel, 'LayoutBorder', [10 10 10 5]);