Adjust layouts.