Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / MapEditorCreateGroup.tscn
@小李xl 小李xl on 17 Dec 2023 1 KB 添加NPOI库依赖
  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. grow_horizontal = 2
  11. grow_vertical = 2
  12. script = ExtResource("1_qoujx")
  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="GroupNameLabel" 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="GroupNameInput" 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="HBoxContainer5" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  48. layout_mode = 2
  49.  
  50. [node name="RemarkNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer5"]
  51. layout_mode = 2
  52. size_flags_horizontal = 3
  53. size_flags_vertical = 0
  54. size_flags_stretch_ratio = 20.0
  55. text = "组备注:"
  56. horizontal_alignment = 2
  57. vertical_alignment = 1
  58.  
  59. [node name="RemarkInput" type="TextEdit" parent="MarginContainer/VBoxContainer/HBoxContainer5"]
  60. custom_minimum_size = Vector2(0, 150)
  61. layout_mode = 2
  62. size_flags_horizontal = 3
  63. size_flags_stretch_ratio = 80.0
  64. placeholder_text = "选填"
  65. wrap_mode = 1