Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
HungryCoder
Binge Watcher

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
HungryCoder
Binge Watcher

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

1 REPLY 1
HungryCoder
Binge Watcher

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.

Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.