main.tscn 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://main.gd" type="Script" id=1]
  3. [node name="main" type="Control" index="0"]
  4. anchor_left = 0.0
  5. anchor_top = 0.0
  6. anchor_right = 1.0
  7. anchor_bottom = 1.0
  8. rect_pivot_offset = Vector2( 0, 0 )
  9. rect_clip_content = false
  10. mouse_filter = 0
  11. mouse_default_cursor_shape = 0
  12. size_flags_horizontal = 1
  13. size_flags_vertical = 1
  14. script = ExtResource( 1 )
  15. [node name="Button" type="Button" parent="." index="0"]
  16. anchor_left = 0.0
  17. anchor_top = 0.0
  18. anchor_right = 0.0
  19. anchor_bottom = 0.0
  20. margin_left = 384.0
  21. margin_top = 233.0
  22. margin_right = 630.0
  23. margin_bottom = 289.0
  24. rect_pivot_offset = Vector2( 0, 0 )
  25. rect_clip_content = false
  26. focus_mode = 2
  27. mouse_filter = 0
  28. mouse_default_cursor_shape = 0
  29. size_flags_horizontal = 1
  30. size_flags_vertical = 1
  31. toggle_mode = false
  32. enabled_focus_mode = 2
  33. shortcut = null
  34. group = null
  35. text = "Hello"
  36. flat = false
  37. align = 1
  38. [node name="Label" type="Label" parent="." index="1"]
  39. anchor_left = 0.0
  40. anchor_top = 0.0
  41. anchor_right = 0.0
  42. anchor_bottom = 0.0
  43. margin_left = 392.0
  44. margin_top = 311.0
  45. margin_right = 629.0
  46. margin_bottom = 368.0
  47. rect_pivot_offset = Vector2( 0, 0 )
  48. rect_clip_content = false
  49. mouse_filter = 2
  50. mouse_default_cursor_shape = 0
  51. size_flags_horizontal = 1
  52. size_flags_vertical = 0
  53. percent_visible = 1.0
  54. lines_skipped = 0
  55. max_lines_visible = -1
  56. [connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]