playcanvas / editor

Issue tracker for the PlayCanvas Editor
https://playcanvas.com/
160 stars 28 forks source link

Collapsible Headers in Attributes #1205

Open marklundin opened 1 month ago

marklundin commented 1 month ago

Feature Request from https://github.com/playcanvas/editor/issues/1196#issuecomment-2402457468

I would also like collapsible headers for interface classes, based on its enabled attribute. In the script I created, I have mutliple subsections that are available only when enabled is ticked. Ideally the enabled attribute would be on the header, and that would collapse when disabled.

Screenshot 2024-10-09 at 15 07 56

Originally posted by @mvaligursky in https://github.com/playcanvas/editor/issues/1196#issuecomment-2402457468