andrewgu / ModConfigMenu

XCOM 2 Mod Config Menu: a project to build a shared settings menu for Xcom 2 mods.
11 stars 13 forks source link

New display options for groups needed #33

Open korgano opened 8 years ago

korgano commented 8 years ago

I currently have a mod that uses MCM to confer Suppression on guns from the base game, DLC, and mods. While the mod works fine with MCM installed, I now have 10 groups on a single page, with many that have 6+ items on them, and it's become very unwieldy to set the options due to the amount of scrolling required.

The ability to collapse the groups or pick them from a dropdown list would solve this problem, since I intend to support this mod well into the future and foresee adding more mods to the list.

andrewgu commented 8 years ago

Acknowledged. Since MCM seems to be working fine with its current feature set, I'm currently going back through and fixing some of my own mods broken by Shen's Last Gift and Alien Hunters, but definitely plan on adding a group expand/collapse feature.

andrewgu commented 8 years ago

Leaving note for myself about underlying implementation: since Firaxis's UIList does funky things with layering and since dropdowns do funky things with draw order, implementing collapsible groups will require adding a "save state and destroy UI instance" function to the "virtual settings" objects (facades).

This should be a supportable automatic feature for version 1.1 (maybe 1.2 to get some 1.1 bug fixes out sooner?) with explicit support for opening/closing groups in code coming in version 2.0 with an API update.