Newer
Older
DungeonShooting / DungeonShooting_Godot / editor / prefabs / CodeHintItem.tscn
  1. [gd_scene load_steps=6 format=2]
  2.  
  3. [ext_resource path="res://editor/src/CodeHintItem.cs" type="Script" id=1]
  4. [ext_resource path="res://editor/ide_cn_font_12_hint.tres" type="DynamicFont" id=2]
  5. [ext_resource path="res://addons/dungeonShooting_plugin/ActivityObject.svg" type="Texture" id=3]
  6.  
  7. [sub_resource type="StyleBoxFlat" id=3]
  8. bg_color = Color( 1, 1, 1, 0.0784314 )
  9.  
  10. [sub_resource type="StyleBoxFlat" id=1]
  11. bg_color = Color( 0, 0, 0, 0 )
  12.  
  13. [node name="CodeHintItem" type="Button"]
  14. margin_right = 271.0
  15. margin_bottom = 20.0
  16. rect_min_size = Vector2( 0, 20 )
  17. mouse_default_cursor_shape = 2
  18. custom_constants/hseparation = 0
  19. custom_styles/hover = SubResource( 3 )
  20. custom_styles/pressed = SubResource( 1 )
  21. custom_styles/focus = SubResource( 1 )
  22. custom_styles/disabled = SubResource( 1 )
  23. custom_styles/normal = SubResource( 1 )
  24. align = 0
  25. expand_icon = true
  26. script = ExtResource( 1 )
  27.  
  28. [node name="BgColor" type="ColorRect" parent="."]
  29. anchor_right = 1.0
  30. anchor_bottom = 1.0
  31. mouse_filter = 2
  32. input_pass_on_modal_close_click = false
  33. color = Color( 0, 0, 0, 0 )
  34.  
  35. [node name="Icon" type="TextureRect" parent="."]
  36. margin_left = 2.0
  37. margin_top = 2.0
  38. margin_right = 17.0
  39. margin_bottom = 17.0
  40. rect_min_size = Vector2( 16, 16 )
  41. mouse_filter = 2
  42. texture = ExtResource( 3 )
  43. expand = true
  44.  
  45. [node name="Text" type="RichTextLabel" parent="."]
  46. anchor_right = 1.0
  47. anchor_bottom = 1.0
  48. margin_left = 20.0
  49. margin_right = -2.0
  50. margin_bottom = -1.0
  51. rect_min_size = Vector2( 0, 19 )
  52. mouse_filter = 2
  53. custom_colors/default_color = Color( 0.752941, 0.752941, 0.776471, 1 )
  54. custom_colors/selection_color = Color( 0.752941, 0.752941, 0.776471, 1 )
  55. custom_colors/font_color_selected = Color( 0.752941, 0.752941, 0.776471, 1 )
  56. custom_fonts/normal_font = ExtResource( 2 )
  57. bbcode_enabled = true
  58. bbcode_text = "[color=#42AAFD]st[/color]ring"
  59. text = "string"
  60. fit_content_height = true
  61. scroll_active = false
  62.  
  63. [connection signal="pressed" from="." to="." method="_on_click"]