how to remove the border around a text box

I am trying to label a diagram using text boxes but a border appears which I need to remove

You have two ways to enter text in a diagram:

  • using a shape (I assume that what your call “text box” is a rectangle shape with text inside) and labelling it with text
  • using the text tool from the toolbar

The text tool is the same as a rectangle with preset attributes (no border, no fill colour, left justified).

Since internally both objects are the same, you can afterwards transform the appearance of one to look like the other:

  • select the shape, not the text (otherwise you are in text editing mode)
  • right-click and choose which attribute to modify or choose through menu Format>…

Note: text attributes for shape objects are accessible only through Format>Text

Borders are controlled by Line menu. In Line tab, select Style - none from dropdown menu to delete borders.

Fill colour is set by Area menu where you can have no background (text used to label diagram) or anything you like (shape case).

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer) or comment the relevant answer.

I cannot find ‘Line’, or ‘Style’, or ‘Borders’…

@luccio: the question above and its answer are valid for Draw. Are you in the same context? Things are different in Writer.

I am in Writer

Then this is not the same question. Open your own topic, name your OS, LO version and save format. Attach a sample file.

The text tool generates a text box and that is a total different shape than a rectangle. A text box is a draw:frame element with a draw:text-box child element. A legacy rectangle is a draw:rect element and a rectangle from the ‘Basic shapes’ is a draw:custom-shape element.