setMaxEnumConstantsToAlignHorizontally

open fun setMaxEnumConstantsToAlignHorizontally(maxEnumConstantsToAlignHorizontally: Int): PrettyPrinterConfiguration(source)

By default enum constants get aligned like this:

    enum X {
       A, B, C, D
    }
until the amount of constants passes this currentValue (5 by default). Then they get aligned like this:
    enum X {
       A,
       B,
       C,
       D,
       E,
       F,
       G
    }
Set it to a large number to always align horizontally. Set it to 1 or less to always align vertically.