Unreal app linux cross compile resize issue

We have a c++ unreal application, which has resizing works just fine on Windows. I got this app cross compiled to linux using UnrealEngine without changing any code or config, but the cross compiled application doesn’t resize. It doesn’t show the resize button at all. Below URL has code to fix it, but when I try this fix it doesn’t work.