mirror of
https://github.com/godotengine/gdnative-demos.git
synced 2026-01-01 05:48:13 +03:00
36 lines
736 B
Plaintext
36 lines
736 B
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://main.gd" type="Script" id=1]
|
|
|
|
[node name="Main" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = -150.0
|
|
margin_top = 233.0
|
|
margin_right = 150.0
|
|
margin_bottom = 289.0
|
|
text = "Hello"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = -200.0
|
|
margin_top = 311.0
|
|
margin_right = 200.0
|
|
margin_bottom = 368.0
|
|
size_flags_vertical = 0
|
|
align = 1
|
|
|
|
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
|