gduibasics/scenes/flexview.tscn
2021-08-21 17:15:07 +02:00

98 lines
2.3 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://addons/de.mewin.gduibasics/scenes/dynamic_tabs.tscn" type="PackedScene" id=1]
[ext_resource path="res://addons/de.mewin.gduibasics/scenes/scripts/flexview.gd" type="Script" id=2]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0, 0.388235, 1, 0.705882 )
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color( 0, 0.301961, 0.796078, 0.705882 )
border_blend = true
[node name="flex_view" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="tabs" parent="." instance=ExtResource( 1 )]
drag_to_rearrange_enabled = true
drag_out_enabled = true
tab_close_display_policy = 2
tab_align = 0
[node name="drop_indicator" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="rect_left" type="Control" parent="drop_indicator"]
visible = false
anchor_right = 0.5
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": true
}
[node name="rect_right" type="Control" parent="drop_indicator"]
visible = false
anchor_left = 0.5
anchor_right = 1.00098
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": true
}
[node name="rect_top" type="Control" parent="drop_indicator"]
visible = false
anchor_right = 1.0
anchor_bottom = 0.5
__meta__ = {
"_edit_use_anchors_": true
}
[node name="rect_bottom" type="Control" parent="drop_indicator"]
visible = false
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": true
}
[node name="rect_center" type="Control" parent="drop_indicator"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 200.0
margin_top = 117.0
margin_right = -200.0
margin_bottom = -117.0
__meta__ = {
"_edit_use_anchors_": true
}
[node name="drop_indicator" type="Panel" parent="drop_indicator"]
visible = false
modulate = Color( 1, 1, 1, 0 )
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
custom_styles/panel = SubResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="tween" type="Tween" parent="drop_indicator"]
[connection signal="tab_close" from="tabs" to="." method="_on_tabs_tab_close"]
[connection signal="tab_dragged_out" from="tabs" to="." method="_on_tabs_tab_dragged_out"]