At screen resolutions other than 16: 9, widgets added with AddToPlayerScreen can not be completely filled. The final size calculated by GameLayerManager seems to be incomplete.


Steps to Reproduce

[Repro Stepst]

  1. Set New Window Size Width=1280 / Height=640 in Editor Preference.
  2. Create widget and add image which set anchors Minimum X:0.0 / Y:0.0 and Maximum X:1.0 / Y:1.0.
  3. Add camera actor in level for the default camera.
  4. Adding CreateWidget and AddToPlayerScreen for BeginPlay in LevelEditorBP.
  5. Run PIE with NewEditorWindow.          


Not filling widget in player screen.(see attached .png) 


Filling with widget in player screen.


[Repro Project]

  1. Open the attached project in 4.22.3.
  2. Run PIE with NewEditorWindow.



Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-76676 in the post.

Login to Vote

Won't Fix
ComponentUE - Editor - UI Systems
Affects Versions4.
CreatedJun 21, 2019
ResolvedAug 27, 2021
UpdatedAug 27, 2021
View Jira Issue