www.gusucode.com > mbclayouts 工具箱 matlab 源码程序 > mbclayouts/@xregflowlayout/private/gui_align_right.m

    function  handles=gui_align_right(handles,offset)
%  Synopsis
%     function  gui_align_right(handles,offset)
%
%  Description
%     Aligns all objects against the right of the first object in order.
%
%     Handles is an array of positions
%
%  Example
%
%
%  See Also

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



pright=handles(1,1)+handles(1,3);
handles(2:end,1)=pright-handles(2:end,3)+offset;