From e59d2a2ba74022315915209c9f9f10c927729977 Mon Sep 17 00:00:00 2001 From: Jetsada Machom Date: Wed, 26 Jun 2024 02:40:42 +0100 Subject: [PATCH] [ConfigPanel] increase text entry size to 256 chars --- src/Dialogs/TouchTextEntry.cpp | 2 +- src/Form/DataField/String.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dialogs/TouchTextEntry.cpp b/src/Dialogs/TouchTextEntry.cpp index 3e855ff6fed..0468b4a1909 100644 --- a/src/Dialogs/TouchTextEntry.cpp +++ b/src/Dialogs/TouchTextEntry.cpp @@ -21,7 +21,7 @@ static KeyboardWidget *kb = NULL; static AllowedCharacters AllowedCharactersCallback; -static constexpr size_t MAX_TEXTENTRY = 40; +static constexpr size_t MAX_TEXTENTRY = 256; static unsigned int cursor = 0; static size_t max_width; static TCHAR edittext[MAX_TEXTENTRY]; diff --git a/src/Form/DataField/String.hpp b/src/Form/DataField/String.hpp index d2ed3f5be37..49c6da7c78f 100644 --- a/src/Form/DataField/String.hpp +++ b/src/Form/DataField/String.hpp @@ -6,7 +6,7 @@ #include "Base.hpp" #include "util/StaticString.hxx" -static constexpr unsigned EDITSTRINGSIZE = 32; +static constexpr unsigned EDITSTRINGSIZE = 256; class DataFieldString: public DataField {