Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / TileSetEditor.tscn
  1. [gd_scene load_steps=5 format=3 uid="uid://dn5brsxa6w3l6"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/tileSetEditor/TileSetEditorPanel.cs" id="1_rgx4n"]
  4. [ext_resource type="Texture2D" uid="uid://cajcnlimvoxk" path="res://resource/sprite/ui/commonIcon/Back.png" id="2_naycu"]
  5. [ext_resource type="Texture2D" uid="uid://cat35d7ueu7gu" path="res://resource/sprite/ui/commonIcon/Save.png" id="3_bcuxk"]
  6. [ext_resource type="Texture2D" uid="uid://bn47bmilcw4x0" path="res://resource/sprite/ui/commonIcon/Select2.png" id="4_t8bqb"]
  7.  
  8. [node name="TileSetEditor" type="Control"]
  9. layout_mode = 3
  10. anchors_preset = 15
  11. anchor_right = 1.0
  12. anchor_bottom = 1.0
  13. grow_horizontal = 2
  14. grow_vertical = 2
  15. script = ExtResource("1_rgx4n")
  16.  
  17. [node name="Bg" type="Panel" parent="."]
  18. layout_mode = 1
  19. anchors_preset = 15
  20. anchor_right = 1.0
  21. anchor_bottom = 1.0
  22. grow_horizontal = 2
  23. grow_vertical = 2
  24.  
  25. [node name="VBoxContainer" type="VBoxContainer" parent="Bg"]
  26. layout_mode = 1
  27. anchors_preset = 15
  28. anchor_right = 1.0
  29. anchor_bottom = 1.0
  30. grow_horizontal = 2
  31. grow_vertical = 2
  32. theme_override_constants/separation = 0
  33.  
  34. [node name="Head" type="Panel" parent="Bg/VBoxContainer"]
  35. custom_minimum_size = Vector2(0, 70)
  36. layout_mode = 2
  37.  
  38. [node name="Back" type="Button" parent="Bg/VBoxContainer/Head"]
  39. layout_mode = 2
  40. offset_left = 2.0
  41. offset_top = 2.0
  42. offset_right = 62.0
  43. offset_bottom = 68.0
  44. size_flags_horizontal = 0
  45. icon = ExtResource("2_naycu")
  46. icon_alignment = 1
  47.  
  48. [node name="Save" type="Button" parent="Bg/VBoxContainer/Head"]
  49. layout_mode = 0
  50. offset_left = 64.0
  51. offset_top = 2.0
  52. offset_right = 124.0
  53. offset_bottom = 68.0
  54. grow_vertical = 2
  55. size_flags_horizontal = 0
  56. icon = ExtResource("3_bcuxk")
  57. icon_alignment = 1
  58.  
  59. [node name="Title" type="Label" parent="Bg/VBoxContainer/Head"]
  60. layout_mode = 0
  61. offset_left = 136.0
  62. offset_top = 2.0
  63. offset_right = 272.0
  64. offset_bottom = 68.0
  65. text = "正在编辑"
  66. vertical_alignment = 1
  67.  
  68. [node name="HBoxContainer" type="HBoxContainer" parent="Bg/VBoxContainer"]
  69. layout_mode = 2
  70. size_flags_vertical = 3
  71. theme_override_constants/separation = 0
  72.  
  73. [node name="LeftRoot" type="Panel" parent="Bg/VBoxContainer/HBoxContainer"]
  74. layout_mode = 2
  75. size_flags_horizontal = 3
  76.  
  77. [node name="MarginContainer" type="MarginContainer" parent="Bg/VBoxContainer/HBoxContainer/LeftRoot"]
  78. layout_mode = 1
  79. anchors_preset = 15
  80. anchor_right = 1.0
  81. anchor_bottom = 1.0
  82. grow_horizontal = 2
  83. grow_vertical = 2
  84. size_flags_horizontal = 3
  85. theme_override_constants/margin_left = 2
  86. theme_override_constants/margin_top = 2
  87. theme_override_constants/margin_right = 2
  88. theme_override_constants/margin_bottom = 2
  89.  
  90. [node name="ScrollContainer" type="ScrollContainer" parent="Bg/VBoxContainer/HBoxContainer/LeftRoot/MarginContainer"]
  91. layout_mode = 2
  92.  
  93. [node name="Tab" type="Button" parent="Bg/VBoxContainer/HBoxContainer/LeftRoot/MarginContainer/ScrollContainer"]
  94. custom_minimum_size = Vector2(0, 60)
  95. layout_mode = 2
  96. size_flags_horizontal = 3
  97. text = "页签"
  98. flat = true
  99.  
  100. [node name="Select" type="NinePatchRect" parent="Bg/VBoxContainer/HBoxContainer/LeftRoot/MarginContainer/ScrollContainer/Tab"]
  101. layout_mode = 1
  102. anchors_preset = 15
  103. anchor_right = 1.0
  104. anchor_bottom = 1.0
  105. grow_horizontal = 2
  106. grow_vertical = 2
  107. texture = ExtResource("4_t8bqb")
  108. region_rect = Rect2(0, 0, 36, 36)
  109. patch_margin_left = 3
  110. patch_margin_top = 3
  111. patch_margin_right = 3
  112. patch_margin_bottom = 3
  113.  
  114. [node name="RightRoot" type="Panel" parent="Bg/VBoxContainer/HBoxContainer"]
  115. clip_children = 2
  116. layout_mode = 2
  117. size_flags_horizontal = 3
  118. size_flags_stretch_ratio = 8.0