

Once you've added the Rich Text Block widget to the graph, select it and use the Details panel on the right to apply your Rich Text Style Row or Rich Image Row data types in the Appearance section. Assign a Data Table Asset to a Rich Text Block If you do not resize the box to fit your text size, some of your text may be clipped and not display properly. The text box does not scale automatically to fit the text size. The Data Table Asset can specify text styles, or it can specify images that you can use in-line with Rich Text.

With this Data Table Asset, you can create different types of data tags that you can use with Rich Text Blocks in UMG. Follow the steps below to learn more about the RichTextBlock in UMG, and how you can write your own decorator classes.īefore you can apply styles to a Rich Text Block Widget, you'll need to create a Data Table Asset. We've included an example decorator class, RichTextBlockImageDecorator, which you can use as a starting point for writing your own decorator classes. With the Data Table Asset, you can create your own styles, or write your own decorator classes that define the markup behavior you need for your project. The RichTextBlock uses a Data Table Asset to manage added styles and customization. While the Text Block provided in Unreal Motion Graphics (UMG) offers a variety of style options and customization, you might need a more flexible text block option that supports markup for things like style changes, inline images, and hyperlinks. Using Rich Text Block Widgets in UMG UI DesignerĪssign a Data Table Asset to a Rich Text Block Remove Style or Image Rows in the Data Table Asset Creating and Assigning a Data Table AssetĪdd Style or Image Rows in the Data Table Asset
