1. Click to select the text box to be set, right-click and select "Format Text Box" in the pop-up right-click menu.
2. The Format Text Box dialog box appears, and click the Text Box option.
3. Under the "Internal Margin" option, change the left margin, right margin, top margin and bottom margin to 0, so there is no gap between the text and the text box. Of course, we can also change only one of them to 0, especially the right margin, which used to have the enter symbol, but after changing it to 0, there is no such enter symbol. Finally, click OK.