2021-01-19 12:48:16 +01:00
[gd_scene load_steps=5 format=2]
2020-12-22 15:38:43 +01:00
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=1]
[ext_resource path="res://styles/theme.tres" type="Theme" id=2]
[ext_resource path="res://scenes/notification.gd" type="Script" id=3]
2021-01-19 12:48:16 +01:00
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.0431373, 0.368627, 0.141176, 0.843137 )
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[node name="Notification" type="Node2D"]
z_index = 4096
2020-12-22 15:38:43 +01:00
script = ExtResource( 3 )
2021-01-19 12:48:16 +01:00
[node name="Panel" type="Panel" parent="."]
margin_left = 8.0
margin_top = 8.0
margin_right = 492.0
margin_bottom = 170.0
theme = ExtResource( 2 )
custom_styles/panel = SubResource( 1 )
2020-12-22 15:38:43 +01:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-01-19 12:48:16 +01:00
[node name="Label" type="Label" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 16.0
margin_top = 13.0
margin_right = -15.0
margin_bottom = -15.0
2020-12-22 15:38:43 +01:00
custom_fonts/font = ExtResource( 1 )
text = "This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint!"
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
2021-01-19 12:48:16 +01:00
[node name="CenterContainer" type="CenterContainer" parent="Panel"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -58.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="OK" type="Button" parent="Panel/CenterContainer"]
margin_left = 202.0
margin_top = 9.0
margin_right = 282.0
margin_bottom = 48.0
2021-02-11 12:03:17 +01:00
focus_mode = 0
enabled_focus_mode = 0
2021-01-19 12:48:16 +01:00
text = "Got it!"
__meta__ = {
"_edit_use_anchors_": false
}
2023-05-16 13:33:02 +02:00
2021-01-19 12:48:16 +01:00
[connection signal="pressed" from="Panel/CenterContainer/OK" to="." method="confirm"]