diff --git a/config/klint/baseline.xml b/config/klint/baseline.xml index 8502e33..d387aee 100644 --- a/config/klint/baseline.xml +++ b/config/klint/baseline.xml @@ -10,13 +10,11 @@ - - - - - - - + + + + + @@ -32,12 +30,12 @@ - - - - - - + + + + + + @@ -62,18 +60,21 @@ - + - - + + - - + + - - + + + + + diff --git a/src/main/kotlin/com/spoiligaming/generator/gui/Initializer.kt b/src/main/kotlin/com/spoiligaming/generator/gui/Initializer.kt index ead01b6..315ded8 100644 --- a/src/main/kotlin/com/spoiligaming/generator/gui/Initializer.kt +++ b/src/main/kotlin/com/spoiligaming/generator/gui/Initializer.kt @@ -190,7 +190,13 @@ class Initializer : Application() { children.add( BorderPane().apply { background = - Background(BackgroundFill(Color.web(ColorPalette.secondaryColor), CornerRadii(16.0), Insets.EMPTY)) + Background( + BackgroundFill( + Color.web(ColorPalette.secondaryColor), + CornerRadii(16.0), + Insets.EMPTY, + ), + ) setMaxSize(325.0, 40.0) setMinSize(325.0, 40.0) diff --git a/src/main/kotlin/com/spoiligaming/generator/gui/TabContainer.kt b/src/main/kotlin/com/spoiligaming/generator/gui/TabContainer.kt index 215bf45..9b9cac1 100644 --- a/src/main/kotlin/com/spoiligaming/generator/gui/TabContainer.kt +++ b/src/main/kotlin/com/spoiligaming/generator/gui/TabContainer.kt @@ -63,7 +63,8 @@ class TabContainer : GridPane() { add( GridPane().apply { - background = Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null)) + background = + Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null)) setMaxSize(160.0, 275.0) setMinSize(160.0, 275.0) alignment = Pos.TOP_CENTER @@ -124,7 +125,8 @@ class TabContainer : GridPane() { private fun implementStatisticsBox() { add( Region().apply { - background = Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null)) + background = + Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null)) setMaxSize(160.0, 75.0) setMinSize(160.0, 75.0) alignment = Pos.TOP_CENTER @@ -230,7 +232,8 @@ class TabContainer : GridPane() { private fun implementInfoBox() { add( Region().apply { - background = Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null)) + background = + Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null)) setMaxSize(160.0, 40.0) setMinSize(160.0, 40.0) alignment = Pos.BOTTOM_CENTER diff --git a/src/main/kotlin/com/spoiligaming/generator/gui/tabs/TabConsole.kt b/src/main/kotlin/com/spoiligaming/generator/gui/tabs/TabConsole.kt index 58c3ca2..1db1d49 100644 --- a/src/main/kotlin/com/spoiligaming/generator/gui/tabs/TabConsole.kt +++ b/src/main/kotlin/com/spoiligaming/generator/gui/tabs/TabConsole.kt @@ -61,7 +61,13 @@ class TabConsole : AbstractTab(3, "Console") { add( VBox().apply { background = - Background(BackgroundFill(Color.web(ColorPalette.secondaryColor), CornerRadii(16.0, false), null)) + Background( + BackgroundFill( + Color.web(ColorPalette.secondaryColor), + CornerRadii(16.0, false), + null, + ), + ) setMaxSize(410.0, 355.0) setMinSize(410.0, 355.0) GridPane.setMargin(this, Insets(0.0, 0.0, 0.0, 4.4)) diff --git a/src/main/kotlin/com/spoiligaming/generator/gui/tabs/TabGeneral.kt b/src/main/kotlin/com/spoiligaming/generator/gui/tabs/TabGeneral.kt index 8ddda90..5287f67 100644 --- a/src/main/kotlin/com/spoiligaming/generator/gui/tabs/TabGeneral.kt +++ b/src/main/kotlin/com/spoiligaming/generator/gui/tabs/TabGeneral.kt @@ -119,7 +119,8 @@ class TabGeneral : AbstractTab(0, "General") { BaseConfigurationFactory.updateValue { generalSettings.discordWebhookURL = newValue } - }, padding = Insets(10.0, 0.0, 0.0, 10.0), + }, + padding = Insets(10.0, 0.0, 0.0, 10.0), ), ) }