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

SpanLabel.setTextBlockAlign() Broken: Extra Space Created #1725

Closed
DandanLam opened this issue Mar 29, 2016 · 1 comment
Closed

SpanLabel.setTextBlockAlign() Broken: Extra Space Created #1725

DandanLam opened this issue Mar 29, 2016 · 1 comment
Milestone

Comments

@DandanLam
Copy link

When using setTextBlockAlign() or , the SpanLabel creates extra space to the end of the string being displayed. The longer the text in the SpanLabel, the more extra space is created(see example line 3 in image below). I have reproduced the issue in the DrSbaitso demo (screenshot below) as well as SocialChat (can be seen in blog post screenshot up top) so I believe this is an inherent issue with SpanLabel. Issue with Component.LEFT is visible in the blogpost screenshot linked above.

screenshot_2016-03-29-11-55-57

@DandanLam DandanLam changed the title SpanLabel.setTextBlockAlign(Component.RIGHT) Broken: Extra Space Created SpanLabel.setTextBlockAlign() Broken: Extra Space Created Mar 29, 2016
@DandanLam
Copy link
Author

Image of SocialChat so you don't need to click on link above.
image

@codenameone codenameone added this to the Version 3.4 milestone Mar 30, 2016
@codenameone codenameone self-assigned this Mar 30, 2016
codenameone pushed a commit that referenced this issue Apr 18, 2016
… to allow smarter row spanning calculations that might be less efficient
@codenameone codenameone removed their assignment Jul 8, 2020
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

1 participant