I’ve trying to make a rich text Decorator that when you mouse over marked text brings up a tooltip that gives the player extra information, Can some explain how to setup a custom rich text Decorator and how to add tooltip to some thing when hovered over?
I would appreciate if any one could help me with this problem.
It is a bit complicated, but if you check how the Image decorator (URichTextBlockImageDecorator) was made, you can start from there.
You will need three things:
Subclass URichTextBlockDecorator with your own;
Subclass FRichTextDecorator with your own, this is where the widget gets created and checks if supports the tag;
A Slate widget, to be used in the FRichTextDecorator, with your logic to show a tooltip when it is hovered.