Newer
Older
DungeonShooting / DungeonShooting_Godot / editor / prefabs / CodeHintItem.tscn
[gd_scene load_steps=6 format=2]

[ext_resource path="res://editor/src/CodeHintItem.cs" type="Script" id=1]
[ext_resource path="res://editor/ide_cn_font_12_hint.tres" type="DynamicFont" id=2]
[ext_resource path="res://addons/dungeonShooting_plugin/ActivityObject.svg" type="Texture" id=3]

[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 1, 1, 1, 0.0784314 )

[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0, 0, 0, 0 )

[node name="CodeHintItem" type="Button"]
margin_right = 271.0
margin_bottom = 20.0
rect_min_size = Vector2( 0, 20 )
mouse_default_cursor_shape = 2
custom_constants/hseparation = 0
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 1 )
custom_styles/focus = SubResource( 1 )
custom_styles/disabled = SubResource( 1 )
custom_styles/normal = SubResource( 1 )
align = 0
expand_icon = true
script = ExtResource( 1 )

[node name="BgColor" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
input_pass_on_modal_close_click = false
color = Color( 0, 0, 0, 0 )

[node name="Icon" type="TextureRect" parent="."]
margin_left = 2.0
margin_top = 2.0
margin_right = 17.0
margin_bottom = 17.0
rect_min_size = Vector2( 16, 16 )
mouse_filter = 2
texture = ExtResource( 3 )
expand = true

[node name="Text" type="RichTextLabel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_right = -2.0
margin_bottom = -1.0
rect_min_size = Vector2( 0, 19 )
mouse_filter = 2
custom_colors/default_color = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/selection_color = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_selected = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_fonts/normal_font = ExtResource( 2 )
bbcode_enabled = true
bbcode_text = "[color=#42AAFD]st[/color]ring"
text = "string"
fit_content_height = true
scroll_active = false

[connection signal="pressed" from="." to="." method="_on_click"]