mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
58 lines
1.6 KiB
Text
58 lines
1.6 KiB
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[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]
|
|
|
|
[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
|
|
script = ExtResource( 3 )
|
|
|
|
[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 )
|
|
|
|
[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
|
|
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
|
|
|
|
[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
|
|
focus_mode = 0
|
|
enabled_focus_mode = 0
|
|
text = "Got it!"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[connection signal="pressed" from="Panel/CenterContainer/OK" to="." method="confirm"]
|