1
$\begingroup$

I have been making an addon which requires me to have a UIList Item and have several items under that UIList (Sub Items). I was thinking of having two UILists but I am not sure how to implement a draw function or whether that functionality is supported by blender.

I am looking to make something like this,

UIList Item with Sub Items

Appriciate if someone can help me with this.

$\endgroup$
4
  • $\begingroup$ AFAIK it is not yet possible to nest UILists Consider outer items as subpanels.. $\endgroup$ – batFINGER Jun 15 '20 at 16:57
  • 2
    $\begingroup$ Not possible to draw yet. You can have a second list in the same layout though: How to get one UIList to control the contents of another UIList? $\endgroup$ – p2or Jun 15 '20 at 17:53
  • $\begingroup$ @batFINGER Thank you for your comment. I will shift my focus in to Panels. $\endgroup$ – BasuruK Jun 16 '20 at 13:34
  • $\begingroup$ @p2or Thank you for the link. I will look into it. $\endgroup$ – BasuruK Jun 16 '20 at 13:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.