Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Expand/Collapse All Parameter Groups #248

Open
2 tasks done
helloar14 opened this issue Apr 26, 2023 · 1 comment
Open
2 tasks done

[Feature Request] Expand/Collapse All Parameter Groups #248

helloar14 opened this issue Apr 26, 2023 · 1 comment
Labels
Enhancement New feature or request
Milestone

Comments

@helloar14
Copy link

Validations

  • I have checked for similar feature requests and could not find any.
  • I have made sure this is not an already-existing feature.

Description

(I know about the plan for big UI overhaul so just set aside this as a note for the future) Currently there's no helper button to expand or collapse all parameter groups.

Suggested solution

Add buttons to expand/collapse all parameter groups. Maybe beside the 'Add Parameter' button.

Alternative solution

No response

Additional Context

No response

@helloar14 helloar14 added Enhancement New feature or request Triage PR/Issue needs to be triaged. labels Apr 26, 2023
@ExpiredPopsicle ExpiredPopsicle added this to the Post-1.0 milestone May 1, 2023
@ExpiredPopsicle ExpiredPopsicle removed the Triage PR/Issue needs to be triaged. label May 1, 2023
@r888800009
Copy link
Contributor

r888800009 commented Sep 12, 2024

expand and collapse are based on this code

bool open = igTreeNodeEx(cast(void*)n.uuid, flags, "");

also see, I'm not sure if the state is maintained by imgui and if there is an API provided

https://github.com/ocornut/imgui/blob/8807b01b28883dfbf7b971a4aa6c1199e4dea827/imgui.h#L651-L669

We also need to consider issue

I found a GetStateStorage() and GetBool(), SetBool() and I'm trying to change the state of the collapse
also see this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

3 participants