Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String handling in TcMenu #526

Open
vzahradnik opened this issue Sep 25, 2024 · 0 comments
Open

String handling in TcMenu #526

vzahradnik opened this issue Sep 25, 2024 · 0 comments
Milestone

Comments

@vzahradnik
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
We have several issues related to longer strings in TcMenu. These will be covered in this issue.

  • Handle strings which don't fit the screen. For example if there is a field and a unit and the field overlaps with the unit text, the field string won't be displayed in its entirety but instead we will slide the text from left to right and back
  • Longer strings of fields overlap with units and the text is not readable. We should clearly define areas where field text can fit and where is an area reserved for units. This should never happen.
  • We've discussed having optional longer strings which can be displayed on remote devices with bigger screen. We decided to deprecate this idea as the TcMenu protocol should not be misused for handling UI stuff. Instead, people can build their own apps and have longer strings there. They just need to do the mapping from the Item_ID into a proper string.
  • Handle long strings in dialogs. Currently we have to manually build a dialog window and to split the strings into multiple lines. Instead, TcMenu should be able to make it for us.
@davetcc davetcc added this to the 4.5 milestone Oct 19, 2024
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

No branches or pull requests

2 participants