Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / MapEditorCreatePreinstall.tscn
  1. [gd_scene load_steps=2 format=3 uid="uid://bp1e8nom6wugk"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/mapEditorCreatePreinstall/MapEditorCreatePreinstallPanel.cs" id="1_um8jr"]
  4.  
  5. [node name="MapEditorCreatePreinstall" type="Control"]
  6. layout_mode = 3
  7. anchors_preset = 15
  8. anchor_right = 1.0
  9. anchor_bottom = 1.0
  10. grow_horizontal = 2
  11. grow_vertical = 2
  12. script = ExtResource("1_um8jr")
  13.  
  14. [node name="MarginContainer" type="MarginContainer" parent="."]
  15. layout_mode = 1
  16. anchors_preset = 15
  17. anchor_right = 1.0
  18. anchor_bottom = 1.0
  19. grow_horizontal = 2
  20. grow_vertical = 2
  21. theme_override_constants/margin_left = 20
  22. theme_override_constants/margin_top = 50
  23. theme_override_constants/margin_right = 20
  24. theme_override_constants/margin_bottom = 20
  25.  
  26. [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
  27. layout_mode = 2
  28. theme_override_constants/separation = 20
  29.  
  30. [node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  31. layout_mode = 2
  32.  
  33. [node name="PreinstallNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"]
  34. layout_mode = 2
  35. size_flags_horizontal = 3
  36. size_flags_stretch_ratio = 20.0
  37. text = "预设名称:"
  38. horizontal_alignment = 2
  39. vertical_alignment = 1
  40.  
  41. [node name="PreinstallNameInput" type="LineEdit" parent="MarginContainer/VBoxContainer/HBoxContainer"]
  42. layout_mode = 2
  43. size_flags_horizontal = 3
  44. size_flags_stretch_ratio = 80.0
  45. placeholder_text = "请输入预设名称"
  46.  
  47. [node name="HBoxContainer4" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  48. layout_mode = 2
  49.  
  50. [node name="WeightNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer4"]
  51. layout_mode = 2
  52. size_flags_horizontal = 3
  53. size_flags_stretch_ratio = 20.0
  54. text = "预设权重:"
  55. horizontal_alignment = 2
  56. vertical_alignment = 1
  57.  
  58. [node name="WeightInput" type="SpinBox" parent="MarginContainer/VBoxContainer/HBoxContainer4"]
  59. layout_mode = 2
  60. size_flags_horizontal = 3
  61. size_flags_stretch_ratio = 80.0
  62. min_value = 1.0
  63. max_value = 1000.0
  64. value = 100.0
  65.  
  66. [node name="HBoxContainer5" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  67. layout_mode = 2
  68.  
  69. [node name="RemarkNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer5"]
  70. layout_mode = 2
  71. size_flags_horizontal = 3
  72. size_flags_vertical = 0
  73. size_flags_stretch_ratio = 20.0
  74. text = "预设备注:"
  75. horizontal_alignment = 2
  76. vertical_alignment = 1
  77.  
  78. [node name="RemarkInput" type="TextEdit" parent="MarginContainer/VBoxContainer/HBoxContainer5"]
  79. custom_minimum_size = Vector2(0, 150)
  80. layout_mode = 2
  81. size_flags_horizontal = 3
  82. size_flags_stretch_ratio = 80.0
  83. placeholder_text = "选填"
  84. wrap_mode = 1