Update layout component, add layout fit example

This commit is contained in:
Insality
2022-09-09 20:45:08 +03:00
parent 25a17773e7
commit ba383261b0
10 changed files with 1472 additions and 76 deletions

View File

@@ -9,7 +9,7 @@ function init(self)
self.druid:new_layout("node_layout_stretch", const_druid.LAYOUT_MODE.STRETCH)
self.druid:new_layout("node_layout_stretch_x", const_druid.LAYOUT_MODE.STRETCH_X)
self.druid:new_layout("node_layout_stretch_y", const_druid.LAYOUT_MODE.STRETCH_Y)
self.druid:new_layout("node_layout_stretch_y_anchor_w", const_druid.LAYOUT_MODE.STRETCH_Y)
self.druid:new_layout("node_layout_stretch_y_anchor_w", const_druid.LAYOUT_MODE.STRETCH_X)
end