I have a problem with Adjust Mode after enabling node (gui.set_enabled(node, true))
There is next hierarchy:
- node_A
-
- node_B (Adjust Mode = Stretch)
-
-
- node C (Adjust Mode = Fit)
-
-
-
- node D (Adjust Mode = Fit)
-
-
-
- node E (Adjust Mode = Fit)
-
if disable node A, then resize the window, and then enable node A —> nodes C, D, E will be incorrectly stretched
but if resize the window again nodes will take the correct size
Is there a way to force update nodes? Or is it a bug?
How to reproduce:
- run project (command+B)
- press space
- resize window
- press space again
GUI Test.zip (212.5 KB)
Defold v1.2.165