cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

setResolutionPolicy Refreshing problems

Open smallmain opened this issue 2 years ago • 1 comments

Cocos Creator version

3.6.0

System information

Mac os Editor, Wechat Game

Issue description

Editor

  • Calling view.setResolutionPolicy causes the Canvas Node's widget to be aligned at the wrong value and cannot be modified.

SafeArea

  • Call view.setResolutionPolicy and the SafeArea will not be refreshed.

Relevant error log output

No response

Steps to reproduce

Editor

  • Project set designSize 1080 1920, uncheck FixedWidth and FixedHeight, call view.setResolutionPolicy in editor FixedWidth.
  • Widget cuoluan.

SafeArea

  • SafeArea hangs on the Canvas. Game running, Call view.setResolutionPolicy, Not adapted as expected.

Minimal reproduction project

No response

smallmain avatar Aug 25 '22 14:08 smallmain

ContentStrategy and ContainerStrategy can't access in editor.

smallmain avatar Aug 25 '22 14:08 smallmain