Added LockToPreferredLayout to lay out a single child using its preferred size. Not nestable inside other layouts.