Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / MapEditorCreatePreinstall.tscn
@小李xl 小李xl on 6 Aug 2023 2 KB 更新Ui生成器
  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. script = ExtResource("1_um8jr")
  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="PreinstallNameLabel" 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="PreinstallNameInput" 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="HBoxContainer4" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  46. layout_mode = 2
  47.  
  48. [node name="WeightNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer4"]
  49. layout_mode = 2
  50. size_flags_horizontal = 3
  51. size_flags_stretch_ratio = 20.0
  52. text = "预设权重:"
  53. horizontal_alignment = 2
  54. vertical_alignment = 1
  55.  
  56. [node name="WeightInput" type="SpinBox" parent="MarginContainer/VBoxContainer/HBoxContainer4"]
  57. layout_mode = 2
  58. size_flags_horizontal = 3
  59. size_flags_stretch_ratio = 80.0
  60. min_value = 1.0
  61. max_value = 1000.0
  62. value = 100.0
  63.  
  64. [node name="HBoxContainer5" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  65. layout_mode = 2
  66.  
  67. [node name="RemarkNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer5"]
  68. layout_mode = 2
  69. size_flags_horizontal = 3
  70. size_flags_vertical = 0
  71. size_flags_stretch_ratio = 20.0
  72. text = "预设备注:"
  73. horizontal_alignment = 2
  74. vertical_alignment = 1
  75.  
  76. [node name="RemarkInput" type="TextEdit" parent="MarginContainer/VBoxContainer/HBoxContainer5"]
  77. custom_minimum_size = Vector2(0, 150)
  78. layout_mode = 2
  79. size_flags_horizontal = 3
  80. size_flags_stretch_ratio = 80.0
  81. placeholder_text = "选填"
  82. wrap_mode = 1