title: Is there a way to make vertical spacing equal programmatically for button controls?
body: <p>I know there is a way to make spacing equal for controls in the designer view. But is this possible to do it programatically? Because I have a form with multiple buttons and we dont know which buttons will be displayed and which will be hidden at the compile time. So they look uneven when the form is displayed(some with more spacing and some with less spacing). Is there a way to re position them at the run time? Is there an equivalent to doing the Format -> Horizontal Spacing -> Make equal programatically?</p>
  
  <p>Thank you for any help.</p>