placeholderPane 0 -1 2 0 SceneNode <undefined> 1 604 0 0 0 0 1 action_inherited self 0 0 1 611 6 -1 0 -1 2 self 0 0 1 width 0 sprite_width 1 611 6 -1 0 -1 2 self 0 0 1 height 0 sprite_height 1 611 6 -1 0 -1 2 self 0 0 1 halign 0 fa_center 1 601 0 0 0 -1 1 action_execute_script self 0 0 9 0 20 0 0 0 20 0 0 0 1 604 0 0 0 0 1 action_inherited self 0 0 1 603 7 0 0 -1 2 self 0 0 1 ///Layout blocks from top to bottom var yoff = 0; var lastMargin = 0; var newWidth = 0; for (var i = 0; i < ds_list_size(self.children); i++) with (self.children[|i]) { self.xoffset = other.width/2; self.yoffset = yoff+max(self.marginTop, lastMargin); newWidth = max(self.width, newWidth); yoff = self.yoffset+self.height; lastMargin = self.marginBottom; } /*self.width = max(newWidth, 20); self.height = max(yoff+lastMargin, 60); */ 1 542 0 0 0 -1 1 action_sprite_transform self 0 0 0 width/sprite_get_width(sprite_index) 0 height/sprite_get_height(sprite_index) 0 0 4 0 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 0