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

Component Radio is shorting text #178

Closed
VicMisael opened this issue Oct 30, 2020 · 2 comments
Closed

Component Radio is shorting text #178

VicMisael opened this issue Oct 30, 2020 · 2 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation high
Milestone

Comments

@VicMisael
Copy link
Collaborator

Issue Title

Component Radio is shorting Text

Describe the bug

Radio is wrongly shorting its text when setting preferred width and running it on Android.

To Reproduce

Open the TCSample application, and go to UI>Camera
It's possible to see the bug there

Expected behavior

The text should be seen completely

Screenshots or videos

image

Devices:

Please complete the following information:

  • Device: Lenovo Vibe K5
  • OS: Android
  • OS Version: 6.0.1
  • TotalCross Version: 6.1.1
@VicMisael VicMisael added the bug Something isn't working label Oct 30, 2020
@nmarquesin nmarquesin added this to the 7.0 milestone Nov 5, 2020
@nmarquesin nmarquesin added the documentation Improvements or additions to documentation label Dec 11, 2020
@nmarquesin
Copy link
Contributor

nmarquesin commented Dec 11, 2020

This seams to be a feature, not a bug. We can improve our documentation to clarify how the feature works. @flsobral shoudl we edit on learn.totalcross.com, on Javadoc or both?

@teras
Copy link
Collaborator

teras commented Dec 23, 2020

Indeed this is really a feature. When the content does not fit in the proposed size of the Label widget, it needs to truncate it.

It can't be documented under javadoc since this appears in many widgets and it's a generic behavior.
So, if we want to document it, maybe somewhere generic. But under my point of view, this is common knowledge. When something doesn't fit, needs to be truncated.

Maybe also inform the original reporter about this and just close the (non-)issue.

@teras teras closed this as completed Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation high
Projects
None yet
Development

No branches or pull requests

4 participants