Change the size and layout of two uis.