Controlling scrolling text

I’m struggling to figure out how to control the scrolling text component. I want it to center and display text without scrolling if the text fits within the width, but scroll when the text length exceeds the width. Am I missing something or do I need to add a normal text component and switch between the two appropriately?

Thanks for any help.