Newer
Older
DungeonShooting / DungeonShooting_Godot / editor / prefabs / CodeHintPanel.tscn
@小李xl 小李xl on 26 Sep 2022 1002 bytes 感应输入事件, 并触发提示窗口
  1. [gd_scene load_steps=4 format=2]
  2.  
  3. [ext_resource path="res://editor/prefabs/CodeHintItem.tscn" type="PackedScene" id=1]
  4. [ext_resource path="res://editor/src/CodeHintPanel.cs" type="Script" id=2]
  5.  
  6. [sub_resource type="StyleBoxFlat" id=4]
  7. bg_color = Color( 0.145098, 0.145098, 0.14902, 1 )
  8. border_width_left = 1
  9. border_width_top = 1
  10. border_width_right = 1
  11. border_width_bottom = 1
  12. border_color = Color( 0.270588, 0.270588, 0.270588, 1 )
  13.  
  14. [node name="CodeHintPanel" type="PopupPanel"]
  15. margin_right = 273.0
  16. margin_bottom = 130.0
  17. focus_mode = 1
  18. custom_styles/panel = SubResource( 4 )
  19. script = ExtResource( 2 )
  20. CodeHintItem = ExtResource( 1 )
  21.  
  22. [node name="ScrollContainer" type="ScrollContainer" parent="."]
  23. anchor_right = 1.0
  24. anchor_bottom = 1.0
  25. margin_left = 1.0
  26. margin_top = 1.0
  27. margin_right = -1.0
  28. margin_bottom = -1.0
  29. scroll_horizontal_enabled = false
  30.  
  31. [node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
  32. margin_right = 271.0
  33. size_flags_horizontal = 3
  34. custom_constants/separation = 0