Newer
Older
DungeonShooting / DungeonShooting_Godot / editor / prefabs / HintPanel.tscn
@小李xl 小李xl on 23 Sep 2022 7 KB 编辑器代码补全ui布局
[gd_scene load_steps=7 format=2]

[ext_resource path="res://editor/ActivityObject.svg" type="Texture" id=1]
[ext_resource path="res://editor/src/HintPanel.cs" type="Script" id=2]
[ext_resource path="res://editor/src/HintItem.cs" type="Script" id=3]

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

[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0.207843, 0.309804, 0.521569, 1 )

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

[node name="HintPanel" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )

[node name="Popup" type="PopupPanel" parent="."]
visible = true
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -202.0
margin_bottom = -106.0

[node name="ScrollContainer" type="ScrollContainer" parent="Popup"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 4.0
margin_right = -4.0
margin_bottom = -4.0
scroll_horizontal_enabled = false

[node name="VBoxContainer" type="VBoxContainer" parent="Popup/ScrollContainer"]
margin_right = 270.0
margin_bottom = 84.0
size_flags_horizontal = 3
custom_constants/separation = 0

[node name="Button" type="Button" parent="Popup/ScrollContainer/VBoxContainer"]
margin_right = 270.0
margin_bottom = 12.0
rect_min_size = Vector2( 0, 12 )
custom_colors/font_color_focus = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_hover = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_pressed = Color( 0.0901961, 0.352941, 0.976471, 1 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 2 )
custom_styles/focus = SubResource( 2 )
custom_styles/disabled = SubResource( 1 )
custom_styles/normal = SubResource( 1 )
text = "123456789"
icon = ExtResource( 1 )
align = 0
expand_icon = true
script = ExtResource( 3 )

[node name="Button2" type="Button" parent="Popup/ScrollContainer/VBoxContainer"]
margin_top = 12.0
margin_right = 270.0
margin_bottom = 24.0
rect_min_size = Vector2( 0, 12 )
custom_colors/font_color_focus = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_hover = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_pressed = Color( 0.0901961, 0.352941, 0.976471, 1 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 2 )
custom_styles/focus = SubResource( 2 )
custom_styles/disabled = SubResource( 1 )
custom_styles/normal = SubResource( 1 )
text = "123456789"
icon = ExtResource( 1 )
align = 0
expand_icon = true
script = ExtResource( 3 )

[node name="Button3" type="Button" parent="Popup/ScrollContainer/VBoxContainer"]
margin_top = 24.0
margin_right = 270.0
margin_bottom = 36.0
rect_min_size = Vector2( 0, 12 )
custom_colors/font_color_focus = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_hover = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_pressed = Color( 0.0901961, 0.352941, 0.976471, 1 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 2 )
custom_styles/focus = SubResource( 2 )
custom_styles/disabled = SubResource( 1 )
custom_styles/normal = SubResource( 1 )
text = "123456789"
icon = ExtResource( 1 )
align = 0
expand_icon = true
script = ExtResource( 3 )

[node name="Button4" type="Button" parent="Popup/ScrollContainer/VBoxContainer"]
margin_top = 36.0
margin_right = 270.0
margin_bottom = 48.0
rect_min_size = Vector2( 0, 12 )
custom_colors/font_color_focus = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_hover = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_pressed = Color( 0.0901961, 0.352941, 0.976471, 1 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 2 )
custom_styles/focus = SubResource( 2 )
custom_styles/disabled = SubResource( 1 )
custom_styles/normal = SubResource( 1 )
text = "123456789"
icon = ExtResource( 1 )
align = 0
expand_icon = true
script = ExtResource( 3 )

[node name="Button5" type="Button" parent="Popup/ScrollContainer/VBoxContainer"]
margin_top = 48.0
margin_right = 270.0
margin_bottom = 60.0
rect_min_size = Vector2( 0, 12 )
custom_colors/font_color_focus = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_hover = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_pressed = Color( 0.0901961, 0.352941, 0.976471, 1 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 2 )
custom_styles/focus = SubResource( 2 )
custom_styles/disabled = SubResource( 1 )
custom_styles/normal = SubResource( 1 )
text = "123456789"
icon = ExtResource( 1 )
align = 0
expand_icon = true
script = ExtResource( 3 )

[node name="Button6" type="Button" parent="Popup/ScrollContainer/VBoxContainer"]
margin_top = 60.0
margin_right = 270.0
margin_bottom = 72.0
rect_min_size = Vector2( 0, 12 )
custom_colors/font_color_focus = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_hover = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_pressed = Color( 0.0901961, 0.352941, 0.976471, 1 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 2 )
custom_styles/focus = SubResource( 2 )
custom_styles/disabled = SubResource( 1 )
custom_styles/normal = SubResource( 1 )
text = "123456789"
icon = ExtResource( 1 )
align = 0
expand_icon = true
script = ExtResource( 3 )

[node name="Button7" type="Button" parent="Popup/ScrollContainer/VBoxContainer"]
margin_top = 72.0
margin_right = 270.0
margin_bottom = 84.0
rect_min_size = Vector2( 0, 12 )
custom_colors/font_color_focus = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_hover = Color( 0.752941, 0.752941, 0.776471, 1 )
custom_colors/font_color_pressed = Color( 0.0901961, 0.352941, 0.976471, 1 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 2 )
custom_styles/focus = SubResource( 2 )
custom_styles/disabled = SubResource( 1 )
custom_styles/normal = SubResource( 1 )
text = "123456789"
icon = ExtResource( 1 )
align = 0
expand_icon = true
script = ExtResource( 3 )

[connection signal="pressed" from="Popup/ScrollContainer/VBoxContainer/Button" to="Popup/ScrollContainer/VBoxContainer/Button" method="_on_click"]
[connection signal="pressed" from="Popup/ScrollContainer/VBoxContainer/Button2" to="Popup/ScrollContainer/VBoxContainer/Button2" method="_on_click"]
[connection signal="pressed" from="Popup/ScrollContainer/VBoxContainer/Button3" to="Popup/ScrollContainer/VBoxContainer/Button3" method="_on_click"]
[connection signal="pressed" from="Popup/ScrollContainer/VBoxContainer/Button4" to="Popup/ScrollContainer/VBoxContainer/Button4" method="_on_click"]
[connection signal="pressed" from="Popup/ScrollContainer/VBoxContainer/Button5" to="Popup/ScrollContainer/VBoxContainer/Button5" method="_on_click"]
[connection signal="pressed" from="Popup/ScrollContainer/VBoxContainer/Button6" to="Popup/ScrollContainer/VBoxContainer/Button6" method="_on_click"]
[connection signal="pressed" from="Popup/ScrollContainer/VBoxContainer/Button7" to="Popup/ScrollContainer/VBoxContainer/Button7" method="_on_click"]