rdkcentral / Lightning-SDK

SDK for Lightning framework
Apache License 2.0
130 stars 69 forks source link

Problem in supporting dynamic resolutions other than 1920x1080 #311

Closed suryaltts closed 2 years ago

suryaltts commented 2 years ago

Explaining with an code example,

return Launch(
App,
{
stage: {
clearColor: ‘0x00000000’,
useImageWorker: true,
},
debug: true,
hls: true,
},
{
path: ‘./static’,
log: true,
showVersion: false,
inspector: false,
showFps: false,
width: 300,
height: 800,
}
)

The above values for w and h we are passing as platformSettings to Application but it still takes in 1920x1080 Because of the above configuration/hardcoded dimensions, we get to see white area around the content. Also the screen is scrolling with the free content.

MicrosoftTeams-image (1)

sandeep-vedam commented 2 years ago

Hi @suryaltts,

This issue is fixed and released in Lightning SDK Version 5.2.0