godot-control-tree/ControlTree.tscn

32 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2022-10-24 16:00:50 +00:00
[gd_scene load_steps=3 format=2]
[ext_resource path="res://ControlTree.gd" type="Script" id=1]
[ext_resource path="res://ControlTreeItem.tscn" type="PackedScene" id=2]
[node name="ControlTree" type="Control"]
anchor_right = 0.492844
anchor_bottom = 1.0
margin_right = 0.327972
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": true,
"_editor_description_": "An item tree with functionality similar to that of the built-in Tree control, but utilizing Control nodes instead of an internal state.
It is not recommended to create trees using scenes, the intended way is to create them through code."
}
item_scene = ExtResource( 2 )
[node name="ItemsList" type="PanelContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="ItemsScroller" type="ScrollContainer" parent="ItemsList"]
margin_left = 7.0
margin_top = 7.0
margin_right = 498.0
margin_bottom = 593.0
[node name="Items" type="VBoxContainer" parent="ItemsList/ItemsScroller"]
unique_name_in_owner = true
margin_right = 491.0
size_flags_horizontal = 3