small racing game im working on
Diffstat (limited to 'ui/editor/block_dragdrop_preview.tscn')
| -rw-r--r-- | ui/editor/block_dragdrop_preview.tscn | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/ui/editor/block_dragdrop_preview.tscn b/ui/editor/block_dragdrop_preview.tscn new file mode 100644 index 0000000..28aca7e --- /dev/null +++ b/ui/editor/block_dragdrop_preview.tscn @@ -0,0 +1,49 @@ +[gd_scene load_steps=4 format=3 uid="uid://br4clathh5ppo"] + +[ext_resource type="Script" path="res://ui/editor/block_dragdrop_preview.gd" id="1_svugf"] +[ext_resource type="Texture2D" uid="uid://cvivkif8cfior" path="res://ui/assets/clip.png" id="2_hvrcj"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_p80jk"] +content_margin_left = 4.0 +content_margin_top = 4.0 +content_margin_right = 4.0 +content_margin_bottom = 4.0 +bg_color = Color(0.027451, 0.211765, 0.258824, 1) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[node name="preview" type="Control"] +layout_mode = 3 +anchors_preset = 0 +offset_left = 4.0 +offset_top = 4.0 +offset_right = 68.0 +offset_bottom = 68.0 +script = ExtResource("1_svugf") + +[node name="panel" type="PanelContainer" parent="."] +unique_name_in_owner = true +clip_children = 2 +layout_mode = 0 +offset_right = 72.0 +offset_bottom = 72.0 +theme_override_styles/panel = SubResource("StyleBoxFlat_p80jk") + +[node name="clip" type="TextureRect" parent="panel"] +clip_children = 1 +layout_mode = 2 +texture = ExtResource("2_hvrcj") +expand_mode = 1 + +[node name="grid" type="GridContainer" parent="panel/clip"] +unique_name_in_owner = true +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_constants/h_separation = 0 +theme_override_constants/v_separation = 0 |