resize constant rect for prompt.