Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 7

Coding for different screen resolutions

Jump to solution

There is something simple I am missing but I can't figure it out.  Newbie here.

I read the docs on coding for different screen resolutions - code for 1080p and Roku will scale if need be.

I took the "Hello World" sample channel and it works fine, as I have a streaming stick with a HD max UI.  So I change the one object "myLabel" from 1280x720 to 1920x1080.

Nothing scaled and my label was not in the center, but in the lower right part of the screen.

What am I missing here?  Can someone point be to a better example?

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Level 7

Re: Coding for different screen resolutions

Jump to solution

It was a newbie mistake - I had added

ui_resolutions = fhd   # Incorrect

to the manifest but it was wrong - NO SPACES for these settings

ui_resolutions=fhd    # Correct!

Wanted to document this in case a search engine leads someone here in the future.

View solution in original post

0 Kudos
1 Reply
Highlighted
Level 7

Re: Coding for different screen resolutions

Jump to solution

It was a newbie mistake - I had added

ui_resolutions = fhd   # Incorrect

to the manifest but it was wrong - NO SPACES for these settings

ui_resolutions=fhd    # Correct!

Wanted to document this in case a search engine leads someone here in the future.

View solution in original post

0 Kudos