Can Text Frame resize based on content?

Previous topic - Next topic

IanicM

I have a simple text frame, and I would like it to automatically resize, either vertically or horizontally, based on its content.

I've found options that adjust the spacing between the text and the frame, but I haven't found any way to make the frame itself expand automatically.

Is there such an option? If not, is there a workaround to achieve this behavior?

Note : I tried the Item - Adjust - Adjust Frame Height to text, but this doesn't expend the Text frame to expose all the text, it only frame around current visible text.

IanicM

The most effective workaround I've found is assigning a shortcut key (I use Q) to the Adjust Frame Height command. It's not completely reliable because it can sometimes trim off the last line, but it still makes managing text frames much easier and faster.

AdmFubar

Quote from: IanicM on April 03, 2026, 02:14:24 PMIt's not completely reliable because it can sometimes trim off the last line, 
what happens if you have an extra return as the last line?
Using Scribus1.6.1, 1.7.0 openSUSE 15.6
Advanced hobbyist

IanicM

(sorry for the delay)

The Adjust Frame Height command cut off the extra return.

I added a few extra return lines to see how it would behave and simply pressing my quickkey, the Framing goes through each one, one by one, eliminating the extra space, and ultimatly also cuts off the text.

So, sometimes it works, sometimes is fails. I could be due so the characters? Fonts?... I don't know.

All that to say, it's a bit buggy. If someone tries to fix this, I'd be happy to test it out.

utnik

Quote from: IanicM on Today at 01:54:02 PM...sometimes it works, sometimes is fails. I could be due so the characters? Fonts?... I don't know

afaik it works as long as the last line contains at least one descender. otherwise 'adjust frame height to text' cuts the last line of text.

utnik