Adjust ui size.