SubnauticaModding / Nautilus

Nautilus, the Subnautica Modding API (formerly SMLHelper)
https://subnauticamodding.github.io/Nautilus/
GNU General Public License v3.0
69 stars 37 forks source link

Allow creating ColorPickers without using the hardcoded sliders #537

Open RamuneNeptune opened 7 months ago

RamuneNeptune commented 7 months ago

Describe the feature Allow creating [ColorPicker]'s without using these hardcoded sliders image

Purpose/Usage Modders can then use their own customizable sliders to adjust the value of the [ColorPicker]

JKohlman commented 7 months ago

What exactly do you mean by "use their own customizable sliders"?

I think it should be easy enough to just use a simple color picker (the one with arrows around it) and just create 3 integer [Slider]s below it with onchanges to reflect in it. If that's sort of what you're looking for the potential exists for a [ColorDisplay] or something which doesn't have just options and is just the colored box.

RamuneNeptune commented 7 months ago

Ye just the colored box

JKohlman commented 7 months ago

Can you give a sample of what you're actually planning on doing? Was it just changing the names?

RamuneNeptune commented 7 months ago

Like that where the green is the color display image

JKohlman commented 7 months ago

So is the ordering just your concern or do you want names? (RE: ordering, I do think the color should go first as generally the "overarching" item goes first like a mods section label)

RamuneNeptune commented 7 months ago

The naming, but I also do prefer the color being below