Mindustry icon indicating copy to clipboard operation
Mindustry copied to clipboard

Add spaces between settings

Open JniTrRny opened this issue 2 years ago • 4 comments

Added some space to make it more categorized, and looks cleaner I guess? The old settings just looks messy (especially Graphics) and that makes adding new settings harder.

~~added addText() which is a customized Setting for anyone that wants to add a raw text to settings table and addRow() which is just a blank version of addText() but will not show up in getSettings() (should it?)~~ Added Separator setting which is literally just text in settings (with customizable background) but this PR only uses the one with no background and without text, just so if someone wants to actually add some text :3

image

image

image

hope I didn't mess up anything

If your pull request is not translation or serverlist-related, read the list of requirements below and check each box:

  • [X] I have read the contribution guidelines.
  • [X] I have ensured that my code compiles, if applicable.
  • [X] I have ensured that any new features in this PR function correctly in-game, if applicable.

JniTrRny avatar Feb 17 '23 18:02 JniTrRny

What about underlined text dividers like the ones I use in my mod? image

My code for this.

MEEPofFaith avatar Feb 17 '23 18:02 MEEPofFaith

Yah that was the last minute decision to slap a copy() on top of it

JniTrRny avatar Feb 18 '23 06:02 JniTrRny

What about underlined text dividers like the ones I use in my mod? image

My code for this.

Looks interesting, guess I'll make it looks like the CustomRulesDialog but without the striking color.

JniTrRny avatar Feb 18 '23 09:02 JniTrRny

Amazing

Darkness6030 avatar Feb 23 '23 20:02 Darkness6030