Account for padding when re-calculating auto width after setting the height of views

also, stop (incorrectly) re-calculating auto height after setting the width of views. There currently are no views where the auto-height depends on the width.