Try to Move the rectangle Into Text . Right drag the rectangle and drop it over the text. In the context menu, click Move Into Text . This will insert the rectangle as a character, so it will take the size of text. And you can change the size of the rectangle as any other character. See if this can do...