Skip to content

Different text input length limits for different fields#1651

Merged
AaronVanGeffen merged 7 commits intoOpenLoco:masterfrom
BartoszKedziorek:textInputLengthLimit
Sep 27, 2022
Merged

Different text input length limits for different fields#1651
AaronVanGeffen merged 7 commits intoOpenLoco:masterfrom
BartoszKedziorek:textInputLengthLimit

Conversation

@BartoszKedziorek
Copy link
Copy Markdown
Contributor

This is the PR that I declared to make. #1646 (comment)

This PR basicly makes text input to not accept more characters than maximal length of the string that it's setting. I'm not sure about the limit for "enter_host_address", so i assigned it with 15 (length of the longest possible IPv4 addess). "chat_title" and "title_industry_name" are mapped with 15 by now, like every other "title". I haven't checked limit for "chat_title" yet. Text input window don't open when I double-click the caption in the industry window (idk if it's a bug).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants