Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / EditorInfo.tscn
@小李xl 小李xl on 7 Jan 2024 1 KB TileSet管理器开发完成
  1. [gd_scene load_steps=2 format=3 uid="uid://45krchsjrluh"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/editorInfo/EditorInfoPanel.cs" id="1_3800s"]
  4.  
  5. [node name="EditorInfo" 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_3800s")
  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="NameLabel" 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="NameInput" 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