Adjust the layout framework