NASAWorldWind / WorldWindJava

The NASA WorldWind Java SDK (WWJ) is for building cross-platform 3D geospatial desktop applications in Java.
718 stars 327 forks source link

Worldwind Window Not Sized Properly (Set Display Scaling to 100%) #248

Open ryanssmith1 opened 2 years ago

ryanssmith1 commented 2 years ago

Note: Any issue that does not include enough information to be reviewed in a timely manner may be closed at the maintainer's discretion.

Prerequisites

Issue discovered on Windows 11

Description

WorldWind View is offset in the jPanel if the Display Scaling is not set to 100%.

Steps to Reproduce

Set the target display scale to 150% and the WorldWind Window View will be offset.

If the target display scale is set to 100% and the WorldWind Window View will be correct

Operating System and Version

Issue discovered on Windows 11

WorldWindScaling Issue

WorldWindScaling Issue Fix

asaintsever commented 2 years ago

Issue has been reported here https://github.com/NASAWorldWind/WorldWindJava/issues/195, with partial fix discussed in PR https://github.com/NASAWorldWind/WorldWindJava/pull/218