Code examples for set_item_custom_bg_color() is completely wrong #4712
Labels
area:class reference
Issues and PRs about the class reference, which should be addressed on the Godot engine repository
bug
Your Godot version:
3.2.3
Issue description:
The code examples for
set_item_custom_bg_color()
andset_item_custom_fg_color()
are invalid.They say:
But
set_item_custom_bg_color
is not a member function of typeString
, it's a member function of typeItemList
.Also the brackets aren't matched.
Just delete these code examples entirely. The functions are simple enough to not need them.
URL to the documentation page:
https://docs.godotengine.org/en/stable/classes/class_itemlist.html#class-itemlist-method-set-item-custom-bg-color
The text was updated successfully, but these errors were encountered: