Godot Richtextlabel bbcode表和列表支持

发布于 2025-02-06 01:20:45 字数 302 浏览 1 评论 0原文

我正在学习戈多。我正在尝试使用RichTextlabel类型中的BBCode表和列表。它似乎不起作用。我是做错了什么还是不支持桌子?

我尝试了多种变体来定义列表,但是它们似乎都没有用。 [列表]和[表]类型没有出现在Godot文档中。

I am learning Godot. I am attempting to use bbcode tables and lists inside the RichTextLabel type. It doesn't appear to work. Am I doing something wrong, or are tables not supported?

enter image description here

I have tried multiple variant ways to define lists, but none of them seem to work. the [list] and [table] types do not appear in the godot documentation.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

脸赞 2025-02-13 01:20:45

支持表,但没有列表标签。您可以在 richtettextlabel

表不像HTML表。您需要指定列数,然后添加单元格。没有“ TR”或“ TD”。例如:

[table=2][cell][img=16]res://icon.png[/img][/cell][cell]Hello World[/cell][/table]

Tables are supported, but there isn't a list tag. You can see the supported tags at BBCode in RichTextLabel.

The tables are not like HTML tables. You need to specify the number of columns and then add cells. There is no "tr" or "td". For example:

[table=2][cell][img=16]res://icon.png[/img][/cell][cell]Hello World[/cell][/table]
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文