Ask Your Question
0

text box internal margins - how to set them

asked 2019-10-10 14:43:23 +0200

rapple gravatar image

Using Draw, but this should apply across all apps.

Question Can you change the internal margins of a text box? Not using paragraph spacing, tabs, font size etc. just set where you want the text inside the box to start?

Background I'm trying to create diagrams that unfortunately have a lot of text and where the boxes are getting quite small to fit with the graphics around them, the margins become relatively large to the font, wasting space and sometimes making it difficult to get in the numbers of words required for clarity.

There are lots of ways to format text but I haven't found a way to set the internal margin i.e. top/bottom/left/right for spacing within a text box.

I know that you can set paragraph formatting to increase these, but I actually want to reduce these and all the formatting dialogues don't seem to take negative offsets.

I've found very little comment about this, so I'm wondering if it's even possible. I did find a thread in a bug tracker https://bugs.documentfoundation.org/s... which seems related but from what I can tell is specifically related to removed borders. It's not even clear whether this has been implemented yet.

As it happens, many of my text boxes are borderless as they are superimposed over other graphic objects to give the appearance of being related - and yes I am aware of the text properties of objects and no I can't use those because they seem to have less control in terms of text positioning etc.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-10-10 15:22:38 +0200

ajlittoz gravatar image

As you know, there are two ways to add text in a Draw graphic.

When text is a property of an object

This is the case when design a diagram with labeled shapes (usually, shapes are also linked to each other by "connectors").

Just draw a shapr, e.g. a rectangle, and tune its properties (border, fill color, …). Double-click inside to add text.

If you want to turn this shape in an auto-sized tect box, right-click on the text and Text from the droip-down menu.

CAUTION! *If text contains spellcheck errors (red wavy line under words, right-click in an area without spellcheck errors, otherwise the spellcheck menu takes precedence and you can't access to Text tuning.

Got ot the Text tab. Anchor your text to the center, check Resize shape to fit text. You can now set the spacing to borders to your needs.

The shape will no longer be larger than your text + spacing. Eventually, add manual line breaks to wrap your test.

When text is not related to an object

Use a text box (the rectangle with a T inside in the upper toolbar). Background is transparent, so it does not matter if spacing or size is too big.

For an unknown reason, the procedure above should work with text box but it seems it does not (at least on my computer _ LO version 6.2.7.1)

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!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-10-10 14:43:23 +0200

Seen: 34 times

Last updated: Oct 10