script: "/example/examples/layout/layout_fit/layout_fit.gui_script" fonts { name: "game" font: "/example/assets/fonts/game.font" } textures { name: "kenney" texture: "/example/assets/images/kenney.atlas" } background_color { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } nodes { position { x: 300.0 y: 415.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 600.0 y: 830.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "kenney/empty" id: "root" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 1.0 template_node_child: false size_mode: SIZE_MODE_MANUAL custom_type: 0 } nodes { position { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 200.0 y: 100.0 z: 0.0 w: 1.0 } color { x: 0.7019608 y: 0.8 z: 1.0 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "" id: "node_zoom_test" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "root" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 1.0 template_node_child: false size_mode: SIZE_MODE_AUTO custom_type: 0 } nodes { position { x: 0.0 y: 274.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 140.0 y: 172.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "kenney/logo" id: "image" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "root" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 1.0 template_node_child: false size_mode: SIZE_MODE_AUTO custom_type: 0 } nodes { position { x: -185.0 y: 69.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 96.0 y: 96.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 0.3019608 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "" id: "back_1" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "root" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 1.0 template_node_child: false size_mode: SIZE_MODE_MANUAL custom_type: 0 } nodes { position { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 140.0 y: 172.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "kenney/logo" id: "image_1" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "back_1" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 0.75 template_node_child: false size_mode: SIZE_MODE_AUTO custom_type: 0 } nodes { position { x: 0.0 y: -106.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 0.75 y: 0.75 z: 1.0 w: 1.0 } size { x: 200.0 y: 100.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_TEXT blend_mode: BLEND_MODE_ALPHA text: "STRECH" font: "game" id: "text_hint_1" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER outline { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } shadow { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } adjust_mode: ADJUST_MODE_FIT line_break: false parent: "back_1" layer: "" inherit_alpha: true alpha: 1.0 outline_alpha: 0.75 shadow_alpha: 0.0 template_node_child: false text_leading: 1.0 text_tracking: 0.0 custom_type: 0 } nodes { position { x: 0.0 y: 69.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 96.0 y: 96.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 0.3019608 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "" id: "back_2" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "root" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 1.0 template_node_child: false size_mode: SIZE_MODE_MANUAL custom_type: 0 } nodes { position { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 140.0 y: 172.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "kenney/logo" id: "image_2" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "back_2" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 0.75 template_node_child: false size_mode: SIZE_MODE_AUTO custom_type: 0 } nodes { position { x: 0.0 y: -106.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 0.75 y: 0.75 z: 1.0 w: 1.0 } size { x: 200.0 y: 100.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_TEXT blend_mode: BLEND_MODE_ALPHA text: "ZOOM MAX" font: "game" id: "text_hint_2" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER outline { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } shadow { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } adjust_mode: ADJUST_MODE_FIT line_break: false parent: "back_2" layer: "" inherit_alpha: true alpha: 1.0 outline_alpha: 0.75 shadow_alpha: 0.0 template_node_child: false text_leading: 1.0 text_tracking: 0.0 custom_type: 0 } nodes { position { x: 185.0 y: 69.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 96.0 y: 96.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 0.3019608 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "" id: "back_3" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "root" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 1.0 template_node_child: false size_mode: SIZE_MODE_MANUAL custom_type: 0 } nodes { position { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 140.0 y: 172.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "kenney/logo" id: "image_3" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "back_3" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 0.75 template_node_child: false size_mode: SIZE_MODE_AUTO custom_type: 0 } nodes { position { x: 0.0 y: -106.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 0.75 y: 0.75 z: 1.0 w: 1.0 } size { x: 200.0 y: 100.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_TEXT blend_mode: BLEND_MODE_ALPHA text: "ZOOM MIN" font: "game" id: "text_hint_3" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER outline { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } shadow { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } adjust_mode: ADJUST_MODE_FIT line_break: false parent: "back_3" layer: "" inherit_alpha: true alpha: 1.0 outline_alpha: 0.75 shadow_alpha: 0.0 template_node_child: false text_leading: 1.0 text_tracking: 0.0 custom_type: 0 } nodes { position { x: -185.0 y: -192.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 96.0 y: 96.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 0.3019608 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "" id: "back_4" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "root" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 1.0 template_node_child: false size_mode: SIZE_MODE_MANUAL custom_type: 0 } nodes { position { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 140.0 y: 172.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "kenney/logo" id: "image_4" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "back_4" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 0.75 template_node_child: false size_mode: SIZE_MODE_AUTO custom_type: 0 } nodes { position { x: 0.0 y: -106.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 0.75 y: 0.75 z: 1.0 w: 1.0 } size { x: 200.0 y: 100.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_TEXT blend_mode: BLEND_MODE_ALPHA text: "STRECH X" font: "game" id: "text_hint_4" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER outline { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } shadow { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } adjust_mode: ADJUST_MODE_FIT line_break: false parent: "back_4" layer: "" inherit_alpha: true alpha: 1.0 outline_alpha: 0.75 shadow_alpha: 0.0 template_node_child: false text_leading: 1.0 text_tracking: 0.0 custom_type: 0 } nodes { position { x: 0.0 y: -192.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 96.0 y: 96.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 0.3019608 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "" id: "back_5" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "root" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 1.0 template_node_child: false size_mode: SIZE_MODE_MANUAL custom_type: 0 } nodes { position { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 140.0 y: 172.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "kenney/logo" id: "image_5" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "back_5" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 0.75 template_node_child: false size_mode: SIZE_MODE_AUTO custom_type: 0 } nodes { position { x: 0.0 y: -106.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 0.75 y: 0.75 z: 1.0 w: 1.0 } size { x: 200.0 y: 100.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_TEXT blend_mode: BLEND_MODE_ALPHA text: "STRECH Y" font: "game" id: "text_hint_5" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER outline { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } shadow { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } adjust_mode: ADJUST_MODE_FIT line_break: false parent: "back_5" layer: "" inherit_alpha: true alpha: 1.0 outline_alpha: 0.75 shadow_alpha: 0.0 template_node_child: false text_leading: 1.0 text_tracking: 0.0 custom_type: 0 } nodes { position { x: 185.0 y: -192.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 96.0 y: 96.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 0.3019608 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "" id: "back_6" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "root" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 1.0 template_node_child: false size_mode: SIZE_MODE_MANUAL custom_type: 0 } nodes { position { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } size { x: 140.0 y: 172.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_BOX blend_mode: BLEND_MODE_ALPHA texture: "kenney/logo" id: "image_6" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER adjust_mode: ADJUST_MODE_FIT parent: "back_6" layer: "" inherit_alpha: true slice9 { x: 0.0 y: 0.0 z: 0.0 w: 0.0 } clipping_mode: CLIPPING_MODE_NONE clipping_visible: true clipping_inverted: false alpha: 0.75 template_node_child: false size_mode: SIZE_MODE_AUTO custom_type: 0 } nodes { position { x: 0.0 y: -106.0 z: 0.0 w: 1.0 } rotation { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } scale { x: 0.75 y: 0.75 z: 1.0 w: 1.0 } size { x: 200.0 y: 100.0 z: 0.0 w: 1.0 } color { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } type: TYPE_TEXT blend_mode: BLEND_MODE_ALPHA text: "FIT" font: "game" id: "text_hint_6" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE pivot: PIVOT_CENTER outline { x: 0.0 y: 0.0 z: 0.0 w: 1.0 } shadow { x: 1.0 y: 1.0 z: 1.0 w: 1.0 } adjust_mode: ADJUST_MODE_FIT line_break: false parent: "back_6" layer: "" inherit_alpha: true alpha: 1.0 outline_alpha: 0.75 shadow_alpha: 0.0 template_node_child: false text_leading: 1.0 text_tracking: 0.0 custom_type: 0 } layers { name: "image" } layers { name: "text" } material: "/builtins/materials/gui.material" adjust_reference: ADJUST_REFERENCE_PARENT max_nodes: 512