Aligning add-in controls with other controls in the workspace
I'm hoping someone can point me to some documentation on how to make my add-in line up like other controls/fields in a workspace.
Lets suppose I have a label and a textbox, just like the lastname field for example. If I add a lastname field to my workspace, the textbox fills the entire available width (minus the label width of course). If I then add a dateLastUpdate field (which has a longer label), the lastname label adjusts to line up with it.
How do I get that functionality in my add-in?