Skip to main content
mrbobdobolina
Known Participant
April 27, 2021
Question

Text background not centered on text box

  • April 27, 2021
  • 6 replies
  • 4633 views

I often add text over images to my videos and usually will add a translucent background to the text with a padding of maybe 15 or 20. I've been doing this for 2-3 years without any issues.

 

I'm using the text creation tool. (Not the captioning tool.)

 

Today, when I added my background and padding I noticed that there was more padding on the right side of the text than there was on the left side of the text. If I turn the padding to 0 (zero) there is still padding on the right side, even though the text on the left is directly against the edge. 

 

When the text box is selected it's clear that the padding is not properly centered.

Is this a known issue? Is this a new issue?

6 replies

MyerPj
Community Expert
October 30, 2025

To me it looks like a space at the end of all the lines, not just the longest. You can see it when the text is highlighted/selected.

Stan Jones
Community Expert
October 30, 2025

@MyerPj,

 

Correct. And it shows with every line when you enable Per-line in the Background styles Fill mode setting in the Appearance section wrench icon. I was only thinking of the All lines setting.

 

Stan

 

MyerPj
Community Expert
October 30, 2025

@Stan Jones , indeed, I was in All Lines mode also, I've never changed that setting. 🙂

Stan Jones
Community Expert
October 30, 2025

All,

 

I don't think this was ever filed as a bug report or feature request. That would be a good idea. What is the best way to state the problem? - A space at the end of the longest line(s) in a multiline caption (or graphics text) results in the automatic BACKGROUND extending too far to the right for the caption to appear centered?

 

Workarounds: 1) impractical for a long set of captions, is to delete the space that pushes the background out; or 2) for burned in, use a manual, non-caption background that is large enough to work for all captions - i.e. oversize but centered.

 

Has anyone checked to see if one of the plugins handles this? @_nicdean 

 

Stan

 

_nicdean
Community Expert
October 30, 2025

@Stan Jones Some languages and external subtitle software can add that extra space at the end of lines and it makes text alignment or shapes look wrong. For my plugin Captioneer, we do have custom logic that removes spaces at the end of lines for this exact reason. We can't affect how Premiere Pro handles this but it is alleviated for our plugin users.

MyerPj
Community Expert
October 30, 2025

I see it too...

 

 

savagequest
Inspiring
October 13, 2025

I know this is an older post, but I'm using the latest version of Premiere Pro 25.5.0 (Build 13), and this is still an ongoing issue. No matter what justification you try, the right remains 2-4 pixels over the text and the text block resizing bars.  So, while this is a nice feature, it feels that it's not 100% flushed out and it's back to basics with the nesting shape and text options.  

mrbobdobolina
Known Participant
September 22, 2023

It's been a few years now and the issue persists... any chance of this ever being fixed?

Stan Jones
Community Expert
September 22, 2023

@mrbobdobolina,

 

I thought I understood how this was a problem. And you were correct to point out the practical relevance of the problem being multiline and related to a space occurring at the end of a line.

 

But as I experimented, I now think the problem is just that a "space" character is included in the "text" to have background. This is important for spaces that are not at the end of a line.

 

This is easiest to see if you turn on "Per Line" in the Background Styles -> Fill Mode. (EGP, Appearance section, Wrench icon).

 

Whether point text or paragraph text, if there is a space at the end, the background box is extended. It is not "off-center" if you consider the space. Many users (and most viewers) would not notice the differences as long as there is some degree of padding. But it does appear "off."

 

In any event, I think it would fit into the category of an "Idea/feature request" rather than a bug. Was a bug report ever filed? We have now migrated from UserVoice, but you should file a bug report  or feature request if that never happened.

 

Stan

 

mrbobdobolina
Known Participant
September 22, 2023

To be clear, this was a change in behavior a few versions ago. I often have quotes that I copy and paste into my videos and from 2017-2021 the text background color did not extend to include a space at the end of a line. 

 

Thank you for the information about reporting bugs. I'll report this now.

Ann Bens
Community Expert
April 27, 2021

Select text and shape and use the align tool to centre.

mrbobdobolina
Known Participant
April 27, 2021

Can you elaborate? I'm creating the text background using the text tool's Appearance settings. I wasn't aware Premiere had alignment tools. How do I select the background and the source text? They seem to be the same object.

 

mrbobdobolina
Known Participant
February 4, 2022

@mrbobdobolina @Ann Bens 

I see that the question was well clarified, but not solution was offered.  I'm having the same issue, with the background feature under the "Appearance" menu of Essential Graphics title menu offering no separate control for background alignment relative to text alignment.  

 

I'll also file this as a bug report.


I've found this is only an issue with multi-line text and I recently discovered a work around. If a line ends with a space, the background is incorrectly centered. If you delete the space, the background looks correct.

 

(For many of my edits I'm copying and pasting a passage of text into a text box, so if it looks off, I just have to remember to go through each line and delete any trailing spaces that may be left after an automatic line break.)