It seems that if both Fit Width and Fit Height are UNchecked, or the resolution policy is set to NO_BORDER, then nodes with the Widget component aren’t aligned properly. It’s as if the Widget component treats the actual device resolution as the design resolution.
As a simple example, create a new project, delete the camera and light nodes, add a 2D label with a widget component set to be aligned to the top-left. This works as expected!
… but if you uncheck Fit Width and Fit Height from the project settings, or set the resolution policy to NO_BORDER in code, the label will only be aligned to the top-left at the default (design) resolution. If you test using any other resolution, the label will be cropped.
I imagine this is a bug?
Possibly related to…
1 post - 1 participant