#shrink NodeBundle UI to only visible elements?
5 messages · Page 1 of 1 (latest)
Set Display(part of Style) to None: https://docs.rs/bevy/latest/bevy/ui/enum.Display.html
Defines the layout model used by this node.
@winged moat so if i'm using grid and flex for parent nodes, would i just need this to be applied to the inner child node displays? or would i need to hotchange the display of the parents?
As I understand this is property of the inner node, that tells parents wheter to arrange for them or not. So it should be enough to just do it on the elements.
ok, let me give it a try.. i'll report back.. thanks.