0 votes

Hello,
this is a noob question, but I searched a lot and found no answer... What the hell is the "standard" way to configure an ItemList node?
I´m adding control nodes to the itemlist and nothing happens, they simply stay there and are not selectable.

Why isnt there a brief explanation on how to set the nodes in the documentation?
The controls are very hard to get by just randomly try them out

in Engine by (1,432 points)

never mind, i found out that on top menu there is an "Items" button next to "Layout".
This thing that the Inspector does not hold the entire information about the node is counter-intuitive

1 Answer

0 votes

The items in ItemList are generated from an internal list edited by add_item("text") or via the gui on top of the 2D view. If you want to use something for a layout of lets sat custom controls you want to use a *GridContainer* or maybe a *VBoxContainer*.

(The items show up as buttons if you inspect the ItemList while running)

by (911 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.