We're currently migrating from Ask to Discourse, read the details here

Ask Your Question
0

How to auto size textbox to fit text?

asked 2019-05-21 09:31:04 +0200

Vadim Peretokin gravatar image

Is there a quick way to resize a textbox to fit the contents of its text?

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
2

answered 2019-05-21 10:38:42 +0200

Opaque gravatar image

Hello,

select textbox - right click - select "Position and Size" and tick "Fit width to text" and "Fit height to text" (the latter is selected by default)

image description

edit flag offensive delete link more

Comments

Is this in a different place on the Windows version? I can easily find the Position and Size tab but the Adapt section is missing completely. The sections I can see are Size, Anchor, Protect and Position. Also, all the other aspects of this box are completely different too. I thought it might be due to a new release but I cannot find any reference to it in the release note.

Can somebody help?

LeticiaB gravatar imageLeticiaB ( 2019-08-09 12:36:01 +0200 )edit

No - the option is on the same dialog in Windows Version of LibreOffice - sorry that I did not mention my version of LibreOffice:

Version: 6.2.5.2 (x64), Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; Locale: en-GB (de_DE);
 UI-Language: en-US, Calc: threaded

May be you should start to mention the LibreOffice version you are using (I did not start with requesting this information since many user find than annoying, nerdy habit). Now it seems that - as usual - version plays a role in answering the question.

Opaque gravatar imageOpaque ( 2019-08-09 14:43:21 +0200 )edit

I'm sorry. I should have thought of that. I am using Version: 6.3.0.4 (x64) on Windows 10 Home 64 bit (Version 10.0, Build 17134)

LeticiaB gravatar imageLeticiaB ( 2019-08-09 21:12:08 +0200 )edit

I downloaded 6.2.5.2 on the same machine but the dialogue box is the same as 6.3. Just to be sure. I am creating the text box within a Writer document, within a paragraph of text. I am creating the box by clicking the textbox icon on the Form Controls toolbar. I drag to create the text box. I then right click within the text box in design mode and go to position and size. If I am doing something wrong along those steps please let me know.

LeticiaB gravatar imageLeticiaB ( 2019-08-09 23:12:23 +0200 )edit

@LeticiaB - Please see the tags - this question is tagged "impress" and therefore I've showed the dialog of "Impress" and not Writer. In Writer your only choice is to "Follow text flow*, but this only changes the height of the text box automatically.

Opaque gravatar imageOpaque ( 2019-08-10 15:24:07 +0200 )edit
0

answered 2020-07-07 00:59:09 +0200

jimav gravatar image

To completely shrink-to-fit, you have to edit the Drawing Style (or create and use a new style) to set "Spacing to Borders" to zeroes. Click the textbox border to select the object -- so the handles are visible -- then rightclick->Edit Style, and in the "Text" tab, set Spacing to Borders to zeroes.

The "Fit width to text" function only expands the object to contain the text, it does not shrink. AFAIK you must manually shrink the object as much as possible (after setting the borders as above) using the mouse. See https://help.libreoffice.org/6.3/en-US/text/shared/01/05220000.html

edit flag offensive delete link more
0

answered 2019-08-09 21:23:41 +0200

updated 2019-08-09 21:24:34 +0200

When I make a text box within a paragraph I am able to right click on it and select "Position and Size" but the box that pops up does not give me the "Fit width to text" option. image description

I am using Version: 6.3.0.4 (x64) on Windows 10 Home 64 bit (Version 10.0, Build 17134). Thanks in advance for your help.!

edit flag offensive delete link more

Comments

Please do not post an answer, if you are actually not answering a question. Please remove any non-answer and using "add a comment" or edit' your original questions. Thanks in advance...

Opaque gravatar imageOpaque ( 2019-08-10 15:26:36 +0200 )edit

Question Tools

1 follower

Stats

Asked: 2019-05-21 09:31:04 +0200

Seen: 4,523 times

Last updated: Jul 07 '20