Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / MapEditorCreateGroup.tscn
@小李xl 小李xl on 23 Jul 2023 1 KB 创建地牢组和地牢房间
  1. [gd_scene load_steps=2 format=3 uid="uid://45krchsjrluh"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/mapEditorCreateGroup/MapEditorCreateGroupPanel.cs" id="1_qoujx"]
  4.  
  5. [node name="MapEditorCreateGroup" type="Control"]
  6. layout_mode = 3
  7. anchors_preset = 15
  8. anchor_right = 1.0
  9. anchor_bottom = 1.0
  10. script = ExtResource("1_qoujx")
  11.  
  12. [node name="MarginContainer" type="MarginContainer" parent="."]
  13. layout_mode = 1
  14. anchors_preset = 15
  15. anchor_right = 1.0
  16. anchor_bottom = 1.0
  17. grow_horizontal = 2
  18. grow_vertical = 2
  19. theme_override_constants/margin_left = 20
  20. theme_override_constants/margin_top = 50
  21. theme_override_constants/margin_right = 20
  22. theme_override_constants/margin_bottom = 20
  23.  
  24. [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
  25. layout_mode = 2
  26. theme_override_constants/separation = 20
  27.  
  28. [node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  29. layout_mode = 2
  30.  
  31. [node name="GroupNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"]
  32. layout_mode = 2
  33. size_flags_horizontal = 3
  34. size_flags_stretch_ratio = 20.0
  35. text = "组名称:"
  36. horizontal_alignment = 2
  37. vertical_alignment = 1
  38.  
  39. [node name="GroupNameInput" type="LineEdit" parent="MarginContainer/VBoxContainer/HBoxContainer"]
  40. layout_mode = 2
  41. size_flags_horizontal = 3
  42. size_flags_stretch_ratio = 80.0
  43. placeholder_text = "请输入组名称"
  44.  
  45. [node name="HBoxContainer5" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  46. layout_mode = 2
  47.  
  48. [node name="RemarkNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer5"]
  49. layout_mode = 2
  50. size_flags_horizontal = 3
  51. size_flags_vertical = 0
  52. size_flags_stretch_ratio = 20.0
  53. text = "组备注:"
  54. horizontal_alignment = 2
  55. vertical_alignment = 1
  56.  
  57. [node name="RemarkInput" type="TextEdit" parent="MarginContainer/VBoxContainer/HBoxContainer5"]
  58. custom_minimum_size = Vector2(0, 150)
  59. layout_mode = 2
  60. size_flags_horizontal = 3
  61. size_flags_stretch_ratio = 80.0
  62. placeholder_text = "选填"
  63. wrap_mode = 1