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="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  48. layout_mode = 2
  49.  
  50. [node name="PreinstallNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
  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="AutoCheckInput" type="CheckBox" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
  59. layout_mode = 2
  60. size_flags_horizontal = 3
  61. size_flags_stretch_ratio = 80.0
  62. flat = true
  63.  
  64. [node name="HBoxContainer4" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  65. layout_mode = 2
  66.  
  67. [node name="WeightNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer4"]
  68. layout_mode = 2
  69. size_flags_horizontal = 3
  70. size_flags_stretch_ratio = 20.0
  71. text = "预设权重:"
  72. horizontal_alignment = 2
  73. vertical_alignment = 1
  74.  
  75. [node name="WeightInput" type="SpinBox" parent="MarginContainer/VBoxContainer/HBoxContainer4"]
  76. layout_mode = 2
  77. size_flags_horizontal = 3
  78. size_flags_stretch_ratio = 80.0
  79. min_value = 1.0
  80. max_value = 1000.0
  81. value = 100.0
  82.  
  83. [node name="HBoxContainer5" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  84. layout_mode = 2
  85.  
  86. [node name="RemarkNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer5"]
  87. layout_mode = 2
  88. size_flags_horizontal = 3
  89. size_flags_vertical = 0
  90. size_flags_stretch_ratio = 20.0
  91. text = "预设备注:"
  92. horizontal_alignment = 2
  93. vertical_alignment = 1
  94.  
  95. [node name="RemarkInput" type="TextEdit" parent="MarginContainer/VBoxContainer/HBoxContainer5"]
  96. custom_minimum_size = Vector2(0, 150)
  97. layout_mode = 2
  98. size_flags_horizontal = 3
  99. size_flags_stretch_ratio = 80.0
  100. placeholder_text = "选填"
  101. wrap_mode = 1