oh-my-git/scenes/file_browser_item.tscn

100 lines
2.4 KiB
Text
Raw Permalink Normal View History

[gd_scene load_steps=5 format=2]
[ext_resource path="res://scenes/file_browser_item.gd" type="Script" id=1]
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=2]
2020-10-27 18:21:57 +01:00
[ext_resource path="res://nodes/document.svg" type="Texture" id=3]
[ext_resource path="res://scenes/drop_area.tscn" type="PackedScene" id=4]
[node name="Control" type="Control"]
2020-10-27 18:21:57 +01:00
anchor_right = 0.104
anchor_bottom = 0.126
margin_right = 0.319992
margin_bottom = -0.0800018
rect_min_size = Vector2( 140, 140 )
mouse_filter = 1
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
2020-11-10 12:14:45 +01:00
[node name="Control" type="Control" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DropArea" parent="Control" instance=ExtResource( 4 )]
position = Vector2( 0, 0 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Control" type="Control" parent="VBoxContainer"]
margin_right = 200.0
margin_bottom = 87.0
mouse_filter = 2
size_flags_vertical = 3
[node name="ColorRect" type="ColorRect" parent="VBoxContainer/Control"]
2020-10-27 18:21:57 +01:00
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
color = Color( 0.203922, 0.721569, 0.501961, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
2020-10-27 18:21:57 +01:00
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 8.0
margin_right = -8.0
margin_bottom = -8.0
texture = ExtResource( 3 )
expand = true
stretch_mode = 6
__meta__ = {
"_edit_use_anchors_": false
}
2020-11-03 16:39:55 +01:00
[node name="StatusIcon" type="TextureRect" parent="VBoxContainer/Control/TextureRect"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -11.2842
margin_top = 0.810516
margin_right = 13.7158
margin_bottom = 25.8105
expand = true
stretch_mode = 6
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer"]
margin_top = 91.0
margin_right = 200.0
margin_bottom = 140.0
2020-10-27 18:21:57 +01:00
size_flags_vertical = 7
size_flags_stretch_ratio = 0.55
custom_fonts/font = ExtResource( 2 )
text = "filename"
align = 1
2020-10-27 18:21:57 +01:00
autowrap = true
2020-11-10 18:22:24 +01:00
[node name="PopupMenu" type="PopupMenu" parent="."]
margin_right = 20.0
margin_bottom = 20.0
[connection signal="id_pressed" from="PopupMenu" to="." method="_popup_menu_pressed"]