This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extends Node | |
| func _ready(): | |
| var rich_text_label = RichTextLabel.new() # Create a new RichTextLabel instance | |
| add_child(rich_text_label) # Add the RichTextLabel as a child of the current node | |
| var theme = Theme.new() # Create a new theme instance | |
| var style_box = StyleBoxFlat.new() # Create a new style box instance | |
| # Set the background color for the style box |
OlderNewer