Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
EnTerr
Level 8

Dog-awful text alignment

To save 1000 words, here is a snapshot of roParagraphScreen:

And here is the addParagraph(text):
-California State Licensed
-Free and Quick Registration
-CPR and First Aid Certified
-16 Years of experience at this location
-Fun learning activities
-Spacious rooms and a big backyard
-No smoking
-No dogs or cats
-Healthy, home cooked meals and snacks
-Potty training
-Very close to freeways 580, 880 and 92
-Part time and full time
-Flexible hours
-Reasonable rates
-Payments from 4CS, Banana, Child Link,and other agencies provided
*please call

Some lines (#2, 5, 7, 10, 11) are justified in extremely ugly way, others are left aligned - and i cannot guess the logic behind. It is not the words title-casing, not every-other-line, not number of words per line, not line length in characters, not rasterized length, not prime-numbered lines... Jocularly i checked if it choses the lines that are worst to stretch but it ain't that either. Seriously puzzled.

What gives?
0 Kudos
3 Replies
destruk
Level 10

Re: Dog-awful text alignment

Probably need to remove the trailing spaces on the affected lines. Each one that is full justified has a trailing space.
0 Kudos
EnTerr
Level 8

Re: Dog-awful text alignment

"destruk" wrote:
Probably need to remove the trailing spaces on the affected lines. Each one that is full justified has a trailing space.

Wow, astute observer you are - thank you!
I hate magic behavior - but spaces, i can work with/around that.

Any idea if this behavior is by design/as-expected? Or a lemon.
0 Kudos
destruk
Level 10

Re: Dog-awful text alignment

I don't know if it's expected behavior - it's certainly not documented anywhere.
0 Kudos