NAT Godot make playground tabs and entry panels
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/Playground.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scripts/EntryContainer.gd" type="Script" id=2]
|
||||
[ext_resource path="res://Playground.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://build/src/RootNode.cs" type="Script" id=3]
|
||||
|
||||
[node name="RootNode" type="Control"]
|
||||
@@ -18,33 +17,4 @@ anchor_bottom = 1.0
|
||||
margin_right = 8.0
|
||||
margin_bottom = 36.0
|
||||
|
||||
[node name="PlaygroundScrollContainer" type="ScrollContainer" parent="PlaygroundTabContainer"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 4.0
|
||||
margin_top = 32.0
|
||||
margin_right = -4.0
|
||||
margin_bottom = -4.0
|
||||
rect_min_size = Vector2( 1280, 720 )
|
||||
|
||||
[node name="Playground" type="Control" parent="PlaygroundTabContainer/PlaygroundScrollContainer"]
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 720.0
|
||||
rect_min_size = Vector2( 1280, 720 )
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="EntryContainer" type="PanelContainer" parent="PlaygroundTabContainer/PlaygroundScrollContainer/Playground"]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
mouse_filter = 1
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="EntryLabel" type="Label" parent="PlaygroundTabContainer/PlaygroundScrollContainer/Playground/EntryContainer"]
|
||||
margin_left = 7.0
|
||||
margin_top = 13.0
|
||||
margin_right = 192.0
|
||||
margin_bottom = 27.0
|
||||
text = "Hello NAT Godot Playground!"
|
||||
|
||||
[connection signal="mouse_entered" from="PlaygroundTabContainer/PlaygroundScrollContainer/Playground/EntryContainer" to="PlaygroundTabContainer/PlaygroundScrollContainer/Playground/EntryContainer" method="_on_EntryContainer_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="PlaygroundTabContainer/PlaygroundScrollContainer/Playground/EntryContainer" to="PlaygroundTabContainer/PlaygroundScrollContainer/Playground/EntryContainer" method="_on_EntryContainer_mouse_exited"]
|
||||
[node name="Playground" parent="PlaygroundTabContainer" instance=ExtResource( 1 )]
|
||||
|
||||
Reference in New Issue
Block a user