OpenFunscripter / OFS

A tool to create funscripts
GNU General Public License v3.0
90 stars 39 forks source link

REQUEST: Add collapsable groups to the lua gui api #64

Closed UchihaPhantom closed 1 year ago

UchihaPhantom commented 1 year ago

Being able to group the module's UI into collapsable sections like the one in the Simulator configuration would be highly benefitial to the UX of the UI of many modules. image

OpenFunscripter commented 1 year ago

I think those are easy to add.

function gui()
  if ofs.CollapsingHeader("abc") then
     ofs.Text("This text is only visible when the header is shown")
  end
end
OpenFunscripter commented 1 year ago

Ugh me using "fix" in the commit message auto closed the issue. But it's added now