oh-my-git/scenes/file_browser_item.tscn

126 lines
3 KiB
Text
Raw 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="Control2" type="Control" parent="VBoxContainer"]
margin_right = 200.0
2021-01-19 11:13:40 +01:00
margin_bottom = 2.0
size_flags_vertical = 3
size_flags_stretch_ratio = 0.13
[node name="Control" type="Control" parent="VBoxContainer"]
2021-01-19 11:13:40 +01:00
margin_top = 6.0
margin_right = 200.0
2021-01-19 11:13:40 +01:00
margin_bottom = 96.0
rect_min_size = Vector2( 0, 90 )
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
}
[node name="HEAD" type="TextureRect" parent="VBoxContainer/Control"]
self_modulate = Color( 0, 0, 0, 0.317647 )
2020-10-27 18:21:57 +01:00
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -9.54361
margin_top = 0.372345
margin_right = -25.5436
margin_bottom = -15.6277
rect_scale = Vector2( 1.2, 1.2 )
2020-10-27 18:21:57 +01:00
texture = ExtResource( 3 )
expand = true
stretch_mode = 6
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Index" type="TextureRect" parent="VBoxContainer/Control"]
self_modulate = Color( 0.54902, 0.45098, 1, 0.654902 )
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -1.15317
margin_top = 4.18617
margin_right = -17.1532
margin_bottom = -11.8138
rect_scale = Vector2( 1.1, 1.1 )
texture = ExtResource( 3 )
expand = true
stretch_mode = 6
__meta__ = {
"_edit_use_anchors_": false
}
[node name="WD" 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 )
2020-11-03 16:39:55 +01:00
expand = true
stretch_mode = 6
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer"]
2021-01-19 11:13:40 +01:00
margin_top = 100.0
margin_right = 200.0
2021-01-19 11:13:40 +01:00
margin_bottom = 140.0
rect_min_size = Vector2( 0, 40 )
2020-10-27 18:21:57 +01:00
size_flags_vertical = 7
size_flags_stretch_ratio = 0.0
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"]