lm_align

Align control in parent.


CALL:

   lm_align(h, varargin)
  

INPUT:

   h: 
     handle of uicontrol to align
   varargin: property-value pairs 
             horizontalalignment: {'leftinside'} 'leftoutside' 'rightinside' 'rightoutside' 'center'
             verticalalignment: {'bottominside'} 'bottomoutside' 'topinside' 'topoutside' 'center'
             offset: [0 0] horizontal and vertical shift
  

OUTPUT:

   none, element is aligned in parent uicontrol