Question / Help How can i have a "read from file" text really centered ?

HCVoiron

Member
Hi everyone,

I experience a problem that is now quite annoying... When i create a text box, with a specific size, i have two different ways to have a text :
I can enter a text, which will be "hard coded". If i do this, the text with the "center" attribute IS centered... no problem, but not flexible !
If i set the text as "read from file", then the text is not centered anymore... It's a little bit on the left of the box... With small sized text boxes, it's clearly not nice...

I'm using notepad++ editor to create the texts that are UTF8 formatted (but even with the Ansi, the text is not centered)...

What do I do Wrong, or how can i have a Really centered read from file text ?
 

djmaggie

New Member
I found a solution on Reddit - at the bottom of the Properties for the Text GDI source, enable "Use Custom Text Extents" and specify a width and height that is larger than the longest line of text to be displayed, and then Transform > Center Horizontally. Works perfectly now!
 
Last edited:
Top