Tightens up resizing in ChildViewLayoutDemo.