Simplify new autoDistribute method to use a boolean to indicate whether
leading and trailing whitespace is used in the layout of the views.