BBCode Buttons
#13411
Replies: 1 comment
-
|
You can add a RichTextLabel as a child of a Button and set its mouse filter to ignore: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
This is a simple request to either add the option to enable BBCode on buttons or have a separate BBCode button entirely like a Label and a Richtextlabel.
This would be handy in the sense where you wouldn't have to create a whole new scene for a button with a Richtextlabel which comes with the extra tasks of making sure the Label is ignored and the button scales properly with the label, (which can get complicated when you add in extra conditions like instantiating and containers) so you can use strikethroughs or have an icon, which you can control the distance to your text, next to said button text.
It would just be nice to use certain tags that come with BBCode on button texts on the fly, especially when you're making a text heavy game like interactive fiction.
Beta Was this translation helpful? Give feedback.
All reactions