Closed Calinou closed 2 years ago
I think there might be some other similar issues with unintended cutoff like with this VoxelGI example
I reverted https://github.com/godotengine/godot/pull/35891's commit (https://github.com/godotengine/godot/commit/81d2d2b41ad286c29f513ff5221938b3760f48ba) locally and it resolved the issue:
This means this bug is a regression from https://github.com/godotengine/godot/pull/35891.
Note that this issue also manifests itself in the GPUParticles3DCollisionSDF node editor, which has a similar VRAM size label. We can apply a similar fix there (use a tooltip instead of a label).
Godot version
4.0.dev (2fc31fdfc)
System information
Fedora 34, GeForce GTX 1080 (NVIDIA 470.57.02)
Issue description
The information label that displays the VoxelGI's VRAM size is cut off:
It's supposed to display
128 × 128 × 128 - VRAM Size: 8 MB
.The label's text is set here: https://github.com/godotengine/godot/blob/8afd2171d1f767c13a18b478b8fc8e6cb9df2157/editor/plugins/voxel_gi_editor_plugin.cpp#L64-L96
Printing
text
withprint_line()
confirms that the text here is correct, but the Label node itself is cut off. This may be due to https://github.com/godotengine/godot/pull/35891.Steps to reproduce
Minimal reproduction project
N/A