#βœ… | How to make dynamic scale text

1 messages Β· Page 1 of 1 (latest)

feral kettleBOT
#

Hello there! πŸ‘‹

FancyMenu's Text elements are awesome because they automatically handle line wrapping and scrolling if the text is too large for the element's area. This means you don't really need a dynamic text scaling feature to keep your text within screen limits.

You can also customize various aspects of the Text element like disabling line wrapping or scrolling if you prefer. You'll find these options if you right-click the Text element in the editor!

For more information, you can check out the documentation on the Text element here: Text in Menus and Text Formatting. πŸ’–

glad wigeon
#

its the spiffy hud's "single line text"

feral kettleBOT
# glad wigeon its the spiffy hud's "single line text"

Ah, thanks for clarifying! With SpiffyHUD's Single-Line Text element, dynamic scaling isn't directly supported. It's designed to automatically resize itself to fit its content. You can set a maximum width for it, and the text will then be cut off if it's too long. πŸ˜…

glad wigeon
#

so, how to do this

feral kettleBOT
# glad wigeon so, how to do this

That's a great question! What you're seeing there is the "Set Text Scale" option, which allows you to manually adjust the size of the text.

If you'd like to dynamically control the text scale so it never goes off-screen, you can use the Calculator placeholder in combination with GUI related placeholders like Screen Width or Element Width. This allows you to create a calculation that adjusts the text scale based on the available screen space.

You can find the Calculator placeholder in the "Advanced" category in the placeholder list, and you'll want to set decimal to "true" for precise scaling.

You can learn more about Advanced Positioning & Sizing and how to use the Calculator placeholder here: Advanced Positioning & Sizing and more about placeholders here: Placeholders. πŸ’–

#

βœ… | How to make dynamic scale text