Grid inner rectangles offset (GUI Editor/Grid)

Hi all.

I discovered this thing with nested rectangles in a grid.

For some reason, the green (inner) rectangle shifts slightly to the left and then down. Inner grid always 90% width and height. Red rectangle always 100% width and height.

I am attaching screenshots

Grid 200x100 px

Grid 40%x25%

General screenshot. Here the red rectangles are internal. Sizes the same

Hello! Can you share a GUI snippet with the problem?

Of course!


Thanks for the snippet! After some digging about with @RaananW , we think this may have to do with rounding, so I opened an issue for us to investigate more deeply: Investigate GUI rounding · Issue #14444 · BabylonJS/Babylon.js (