Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphNode overflows last child when one of the previous children has vertical sizing set to fill expand #85558

Open
nagidev opened this issue Nov 30, 2023 · 1 comment

Comments

@nagidev
Copy link
Contributor

nagidev commented Nov 30, 2023

Godot version

v4.2.stable.official [46dc277]

System information

Godot v4.2.stable - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 (nvidia; 535.129.03) - Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 Threads)

Issue description

Setting the vertical sizing flag to Fill Expand of a child of a GraphNode that is not last fills the space until the last child is almost outside the GraphNode. Trying the same setup with a VBoxContainer node instead shows the expected behavior.

Screenshot from 2023-11-30 23-55-36

Steps to reproduce

  1. Add a GraphNode
  2. Add any Control node as its child, then add another so there are at least two child nodes.
  3. Select a child node that is not the last one, and set it's vertical sizing in layout section to enable Fill & Expand.
  4. The last child node will be positioned almost outside the GraphNode

Minimal reproduction project

MRP.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants