diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt b/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt index 84d24b5..a9c7ebf 100644 --- a/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt +++ b/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt @@ -38,6 +38,7 @@ class StringHandler(val config: ManagedConfig) : ManagedConfig.OptionHandler<Str guiAppender.appendLabeledRow( opt.labelText, WTextField(opt.labelText).apply { + maxLength = 1000 suggestion = Text.translatableWithFallback(opt.rawLabelText + ".hint", "") guiAppender.onReload { text = opt.value } setChangedListener { |