cocopon / tweakpane

:control_knobs: Compact GUI for fine-tuning parameters and monitoring value changes
https://tweakpane.github.io/docs/
MIT License
3.57k stars 90 forks source link

Add order to base params #614

Closed alexandernanberg closed 3 months ago

alexandernanberg commented 3 months ago

Using index to order the blades isn't intuitive imo. When dynamically adding blades I don't often know what index I want to insert a specific item to.

I almost always want to set an arbitrary number, e.g. order: 100 if I likely always want that blade at the bottom. But if there is an exception I can set the order of another item to 101 etc.

AFAICT there is no nice way to achieve that with index..

cocopon commented 3 months ago

Thank you for sharing your opinion, but currently I don't plan to add such a parameter.

One of Tweakpane's core principles is simplicity. Using index is the simplest way to organize ordered items.

I believe that more complex features like this should be managed by users.

cocopon commented 3 months ago

Feel free to reopen the issue if you have any updates.