Is there a way for automatic repositioning of label objects if the text lenght has changed in the builded project?
Stefan
Professional Software Development Tools
Is there a way for automatic repositioning of label objects if the text lenght has changed in the builded project?
Stefan
You could try using a paragraph object instead of a label object...
You could write a function to pad the text with spaces to have it be centered.
Hello,
As Lorne said, you could use a paragraph object instead. This is the 'best' and certainly easiest solution (in my opinion).
Alternatively, you could use Label.GetSize and Label.SetPos to re-position your object based on its current size. I've done that in a few projects.
Though why i didn't just use a paragraph object . . .)