I want the lightning js app compatible with web browser

my app on STB which made by raspberry pi view good like as screen dimension of tv.
but when I run the the app on browser then look like app scrollable you can see on Image.
and when I run the app on samsung tv browser then get the same issue (scrollable


The scrollbars are there because the app is rendering at a larger resolution then the screen. Same for the Samsung TV.

You are likely rendering a 1080 app on a 720 resolution. You can change that with the w, h and precision settings in:

Also if you want you can downscale your development screen from the Chrome DevTools, just enable the device toolbar and set the resolution desired.

1 Like