You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
Resizing the window shifts the label (which is anchored to the center) slightly to the right, making it not align with the Node2Ds behind it. This does not happen with the default font, and I have not tested if this also happens with a BitmapFont. My repro project below uses a DynamicFont.
Add a root Control node that covers the entire viewport and a Label as a child anchored to Center
Set viewport stretch mode to 2d
Run the scene: Resize the window so it becomes small enough, then resize it back to the original size or larger. The Node2Ds will not align with the label.
As a workaround, try disabling Rendering > Quality > Dynamic Fonts > Use Oversampling in the Project Settings.
You can also enforce a minimum window size to prevent the window from being resized to a very small size, which tends to cause this kind of issue. To do so, call OS.min_window_size = Vector2(<width>, <height>) in any script's _ready() method. This will be done by default if #37260 is merged.
Godot version:
3.2.3 Stable Official
OS & Hardware:
Solus/Linux 5.6.19
Ryzen 5 2400G (+RX Vega 11 iGPU)
GLES2 renderer
Issue description:
Resizing the window shifts the label (which is anchored to the center) slightly to the right, making it not align with the Node2Ds behind it. This does not happen with the default font, and I have not tested if this also happens with a BitmapFont. My repro project below uses a DynamicFont.
Steps to reproduce:
Minimal reproduction project:
https://mega.nz/file/fVdxEIYC#1XaMSVvjFN7YKNG8JLP5F38ooe1WtpLa7ffi5jjBbi4
The text was updated successfully, but these errors were encountered: