Popup Dialog (not Modal) UI with Panel?

Hi,

I’m new to scripting in Blender and I trying to create a Popup Dialog (not Modal) UI and I did find this example as a starting point.

https://github.com/martijnberger/blender/blob/master/doc/python_api/examples/bpy.types.Operator.4.py

But I’m struggling to find how to have panel that you can collapse as well as in the mockup image below?

ModalWithPanel

any idea how I can achieve this?

cheers

This should help you:

https://blender.stackexchange.com/questions/19121/how-to-create-collapsible-panel

Thanks I’ll try that as soon as I can!