Monospacing option on inspector

I just discovered from the old documentation that mspace rich text tag is available. So any font could become monospace. It is crucial to make the scoreboard and running score looks nice. The only problem is that I didn’t know about it until now.

I wonder why there is no such checkbox on the inspector? I expect it to be available around spacing options area. So I don’t have to programmatically add the tag for dynamic content like the scores.

Given the number of Rich Text Tags currently available which will keep growing overtime, I am concerned adding options for these in the UI will eventually lead to too many toggles, etc…

However, one of the new feature that will be available in the next release is the ability to assign a Style to individual text objects as seen below.

Producing the following results

This feature will enable you to define / add Styles to be applied to a whole text object.

For a while now, users have been able to define their own styles in a Stylesheet. Thus far Stylesheets have been global and assigned in the TMP Settings. In the next release, you will also be able to assign local Stylesheets to text objects as seen above.

The available Styles will be listed in the Style Dropdown. This will show both local and global styles available. In the event two styles have the same name then the local style will be applied. This enables overriding of global styles by local styles.

I have also improved the nesting of styles.

Although this functionality has been available for a while now, styles can also inject characters in the text which can be used to decorate or do things like adding a prefix or suffix to some label.

See example 11 included in the TMP Examples & Extras.

So although the Style option isn’t the same as adding a specific option for Monospace. It should make it easier to achieve the desired result without having to manually enclose the text with the <mspace=x.xx> tag in the text itself.

2 Likes

Cool! I think that is definitely the way to go. Thanks.

1 Like

Hello!
I also recently found out about this tag and it is definitely very useful. So much so that I still think it would be nice to have it as a separate toggle in the inspector, maybe as an element in the Spacing Options I guess?

As for the Style selection dropdown, it seems it is still not available, but I’m looking forward to it!

(on an unrelated note, would it be possible to get an answer regarding this other TMP question? Thanks in advance: Marker/Underline problems with fallback fonts. )

This is available in the preview releases which have been available for a few months already.

To see these packages in Package Manager, you must enable Show Preview Packages in the Advanced tab of the Package Manager UI.

I’ll take a look at that other thread and provide feedback there.

1 Like

@Stephan_B Monospace does not work on the last character. If you have horizontal text aligment set to right, it’s visible that if you change the last character of the text, the whole text box width changes.

Any quick fix or solution?

What are the steps to reproduce this?

Can you provide a screenshot of the text object inspector so we can see the settings you are using along with a screenshot of the text itself?