|Topic was automatically imported from the old Question2Answer platform.
I have a PanelContainer with HBoxContainer as child and HBoxContainer has several children. When size of HBoxContainer’s children change PanelContainer grows. I want PanelContainer to stay as small as possible.
In Remote if I slightly change (even to one) any of margin properties of PanelContainer it shrinks to the smalest size which is what I want but if I change margin in code it doesn’t work out.