You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RichTextLabel is a flexible way of adding text to your game, with support for [i]italics[/i], [b]bold[/b] and [i][b]both[/b][/i]. [u]Underline[/u] works too.
58
+
RichTextLabel is a flexible way of adding text to your game, with support for [i]italics[/i], [b]bold[/b] and [i][b]both[/b][/i].
59
+
[u]Underline[/u] works too, including with [u][i]italics[/i][/u], [u][b]bold[/b][/u] and [u][i][b]both[/b][/i][/u].
59
60
It is also possible to include [img]res://unicorn_icon.png[/img] custom images, as well as [color=aqua][url=https://godotengine.org]custom URLs[/url][/color].
60
61
61
62
Left alignment is default,[center]but center alignment is supported,[/center][right]as well as right alignment.[/right]
63
+
62
64
[fill]Fill alignment is also supported, and allows writing very long text that will end up fitting the horizontal space entirely with words of joy.[/fill]
63
65
64
66
For full reference, [color=aqua][url=https://docs.godotengine.org/en/latest/tutorials/gui/bbcode_in_richtextlabel.html]check the documentation.[/url][/color]
65
67
"
66
68
text = "Rich Text Test
67
69
68
-
RichTextLabel is a flexible way of adding text to your game, with support for italics, bold and both. Underline works too.
70
+
RichTextLabel is a flexible way of adding text to your game, with support for italics, bold and both.
71
+
Underline works too, including with italics, bold and both.
69
72
It is also possible to include custom images, as well as custom URLs.
70
73
71
74
Left alignment is default,but center alignment is supported,as well as right alignment.
75
+
72
76
Fill alignment is also supported, and allows writing very long text that will end up fitting the horizontal space entirely with words of joy.
0 commit comments