feathersui / feathersui-starling

User interface components for Starling Framework and Adobe AIR
https://feathersui.com/learn/as3-starling/
Other
915 stars 386 forks source link

ScreenDensityScaleFactorManager: black bars #1759

Closed CrazyFlasher closed 6 years ago

CrazyFlasher commented 6 years ago

Samsung Galaxy S9 in landscape mode

joshtynjala commented 6 years ago

Could you post a screenshot?

What are the values of nativeStage.stageWidth, nativeStage.stageHeight, and Capabilities.screenDPI when you're in landscape mode on this device?

CrazyFlasher commented 6 years ago

Details:

[trace] nativeStage.stageWidth: 1920
[trace] nativeStage.stageHeight: 1080
[trace] Capabilities.screenDPI: 420

Actual: image

Expected: image

joshtynjala commented 6 years ago

ScreenDensityScaleFactorManager is behaving correctly. It seems to be an AIR issue because the native stage is not filling the full screen resolution of the device. According to a quick Google search, it should be 2220x1080 pixels instead of 1920x1080 pixels.