diff --git a/addons/resources_spreadsheet_view/import_export/import_export_enum_format.tscn b/addons/resources_spreadsheet_view/import_export/import_export_enum_format.tscn index 9c0a8df..9e02fcd 100644 --- a/addons/resources_spreadsheet_view/import_export/import_export_enum_format.tscn +++ b/addons/resources_spreadsheet_view/import_export/import_export_enum_format.tscn @@ -1,71 +1,47 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=2 format=3 uid="uid://ckhf3bqy2rqjr"] -[ext_resource path="res://addons/resources_speadsheet_view/import_export/import_export_enum_format.gd" type="Script" id=1] +[ext_resource type="Script" path="res://addons/resources_spreadsheet_view/import_export/import_export_enum_format.gd" id="1"] [node name="EnumFormat" type="GridContainer"] -margin_right = 400.0 -margin_bottom = 48.0 -rect_pivot_offset = Vector2( 40, 71 ) columns = 2 -script = ExtResource( 1 ) +script = ExtResource("1") [node name="Label3" type="Label" parent="."] -margin_top = 3.0 -margin_right = 198.0 -margin_bottom = 17.0 +layout_mode = 2 size_flags_horizontal = 3 text = "Enum word case/separator" [node name="HBoxContainer" type="HBoxContainer" parent="."] -margin_left = 202.0 -margin_right = 400.0 -margin_bottom = 20.0 +layout_mode = 2 size_flags_horizontal = 3 [node name="Case" type="OptionButton" parent="HBoxContainer"] -margin_right = 129.0 -margin_bottom = 20.0 +layout_mode = 2 size_flags_horizontal = 3 -text = "Caps Every Word" clip_text = true -items = [ "all lower", null, false, 0, null, "caps Except First", null, false, 1, null, "Caps Every Word", null, false, 2, null, "ALL CAPS", null, false, 3, null ] -selected = 2 [node name="Separator" type="OptionButton" parent="HBoxContainer"] -margin_left = 133.0 -margin_right = 198.0 -margin_bottom = 20.0 +layout_mode = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 0.5 -text = "Space \" \"" clip_text = true -items = [ "Space \" \"", null, false, 0, null, "Underscore \"_\"", null, false, 1, null, "Kebab \"-\"", null, false, 2, null ] -selected = 0 [node name="Label4" type="Label" parent="."] -margin_top = 29.0 -margin_right = 198.0 -margin_bottom = 43.0 +layout_mode = 2 size_flags_horizontal = 3 text = "Boolean True/False" [node name="HBoxContainer2" type="HBoxContainer" parent="."] -margin_left = 202.0 -margin_top = 24.0 -margin_right = 400.0 -margin_bottom = 48.0 +layout_mode = 2 size_flags_horizontal = 3 [node name="True" type="LineEdit" parent="HBoxContainer2"] -margin_right = 97.0 -margin_bottom = 24.0 +layout_mode = 2 size_flags_horizontal = 3 text = "Yes" [node name="False" type="LineEdit" parent="HBoxContainer2"] -margin_left = 101.0 -margin_right = 198.0 -margin_bottom = 24.0 +layout_mode = 2 size_flags_horizontal = 3 text = "No" diff --git a/addons/resources_spreadsheet_view/import_export/property_list_item.tscn b/addons/resources_spreadsheet_view/import_export/property_list_item.tscn index 34646e0..0aa4fa0 100644 --- a/addons/resources_spreadsheet_view/import_export/property_list_item.tscn +++ b/addons/resources_spreadsheet_view/import_export/property_list_item.tscn @@ -1,26 +1,18 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=2 format=3 uid="uid://b8llymigbprh6"] -[ext_resource path="res://addons/resources_speadsheet_view/import_export/property_list_item.gd" type="Script" id=1] +[ext_resource type="Script" path="res://addons/resources_spreadsheet_view/import_export/property_list_item.gd" id="1"] [node name="Entry" type="HBoxContainer"] -margin_right = 468.0 -margin_bottom = 24.0 -script = ExtResource( 1 ) +script = ExtResource("1") [node name="LineEdit" type="LineEdit" parent="."] -margin_right = 309.0 -margin_bottom = 24.0 +layout_mode = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 0.5 text = "1" [node name="OptionButton" type="OptionButton" parent="."] -margin_left = 313.0 -margin_right = 468.0 -margin_bottom = 24.0 +layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 5 size_flags_stretch_ratio = 0.25 -text = "Bool" -items = [ "Bool", null, false, 1, null, "Integer Number", null, false, 2, null, "Floating Point Number", null, false, 3, null, "String/Other", null, false, 4, null, "Vector2", null, true, 5, null, "Rect2", null, true, 6, null, "Vector3", null, true, 7, null, "Color", null, false, 14, null, "Array", null, true, 19, null, "Resource Path", null, false, 17, null, "Enumeration", null, false, 101, null ] -selected = 0 diff --git a/addons/resources_spreadsheet_view/main_screen/selection_actions.tscn b/addons/resources_spreadsheet_view/main_screen/selection_actions.tscn index 7b8eaad..932360a 100644 --- a/addons/resources_spreadsheet_view/main_screen/selection_actions.tscn +++ b/addons/resources_spreadsheet_view/main_screen/selection_actions.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=8 format=2] -[ext_resource path="res://addons/resources_speadsheet_view/editor_icon_button.gd" type="Script" id=1] -[ext_resource path="res://addons/resources_speadsheet_view/selection_actions.gd" type="Script" id=2] +[ext_resource path="res://addons/resources_spreadsheet_view/editor_icon_button.gd" type="Script" id=1] +[ext_resource path="res://addons/resources_spreadsheet_view/selection_actions.gd" type="Script" id=2] [sub_resource type="Image" id=6] data = { diff --git a/addons/resources_spreadsheet_view/typed_cells/array.tscn b/addons/resources_spreadsheet_view/typed_cells/array.tscn index e228159..61062ac 100644 --- a/addons/resources_spreadsheet_view/typed_cells/array.tscn +++ b/addons/resources_spreadsheet_view/typed_cells/array.tscn @@ -8,16 +8,11 @@ mouse_filter = 0 [node name="Box" type="HFlowContainer" parent="."] layout_mode = 2 -offset_right = 16.0 -offset_bottom = 16.0 mouse_filter = 2 [node name="Back" type="Control" parent="."] show_behind_parent = true layout_mode = 2 -anchors_preset = 0 -offset_right = 16.0 -offset_bottom = 16.0 mouse_filter = 2 [node name="ColorRect" type="ColorRect" parent="Back"] @@ -37,7 +32,5 @@ color = Color(0.247059, 0.247059, 0.247059, 0.498039) [node name="Selected" type="ColorRect" parent="."] visible = false layout_mode = 2 -offset_right = 16.0 -offset_bottom = 16.0 mouse_filter = 2 color = Color(1, 1, 1, 0.247059) diff --git a/addons/resources_spreadsheet_view/typed_cells/basic.tscn b/addons/resources_spreadsheet_view/typed_cells/basic.tscn index 11b379a..541f1ba 100644 --- a/addons/resources_spreadsheet_view/typed_cells/basic.tscn +++ b/addons/resources_spreadsheet_view/typed_cells/basic.tscn @@ -27,5 +27,7 @@ layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 mouse_filter = 2 color = Color(1, 1, 1, 0.247059) diff --git a/addons/resources_spreadsheet_view/typed_cells/resource.tscn b/addons/resources_spreadsheet_view/typed_cells/resource.tscn index 3bd6179..ee3a7b0 100644 --- a/addons/resources_spreadsheet_view/typed_cells/resource.tscn +++ b/addons/resources_spreadsheet_view/typed_cells/resource.tscn @@ -9,9 +9,6 @@ mouse_filter = 0 [node name="Back" type="Control" parent="."] show_behind_parent = true layout_mode = 2 -anchors_preset = 0 -offset_right = 63.0 -offset_bottom = 26.0 mouse_filter = 2 [node name="ColorRect" type="ColorRect" parent="Back"] @@ -31,29 +28,21 @@ color = Color(0.247059, 0.247059, 0.247059, 0.498039) [node name="Selected" type="ColorRect" parent="."] visible = false layout_mode = 2 -offset_right = 63.0 -offset_bottom = 26.0 mouse_filter = 2 color = Color(1, 1, 1, 0.247059) [node name="Box" type="HBoxContainer" parent="."] layout_mode = 2 -offset_right = 63.0 -offset_bottom = 26.0 mouse_filter = 2 [node name="Tex" type="TextureRect" parent="Box"] layout_mode = 2 -offset_bottom = 26.0 mouse_filter = 2 texture = ExtResource("1") -ignore_texture_size = true +expand_mode = 1 stretch_mode = 5 [node name="Label" type="Label" parent="Box"] layout_mode = 2 -offset_left = 4.0 -offset_right = 63.0 -offset_bottom = 26.0 size_flags_horizontal = 3 text = "res.tres" diff --git a/addons/resources_spreadsheet_view/typed_editors/dock_array.tscn b/addons/resources_spreadsheet_view/typed_editors/dock_array.tscn index d8f8314..0ade65e 100644 --- a/addons/resources_spreadsheet_view/typed_editors/dock_array.tscn +++ b/addons/resources_spreadsheet_view/typed_editors/dock_array.tscn @@ -3,7 +3,7 @@ [ext_resource type="Script" path="res://addons/resources_spreadsheet_view/typed_editors/dock_array.gd" id="1"] [ext_resource type="Script" path="res://addons/resources_spreadsheet_view/editor_icon_button.gd" id="2"] -[sub_resource type="Image" id="Image_yhr7y"] +[sub_resource type="Image" id="Image_1qgia"] data = { "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 93, 93, 55, 255, 97, 97, 58, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 97, 97, 42, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 98, 98, 47, 255, 97, 97, 42, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 93, 93, 233, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 94, 94, 46, 255, 93, 93, 236, 255, 93, 93, 233, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0), "format": "RGBA8", @@ -13,7 +13,7 @@ data = { } [sub_resource type="ImageTexture" id="ImageTexture_3oshq"] -image = SubResource("Image_yhr7y") +image = SubResource("Image_1qgia") [node name="EditArray" type="VBoxContainer"] anchors_preset = 10 @@ -24,199 +24,123 @@ script = ExtResource("1") [node name="Header" type="HBoxContainer" parent="."] layout_mode = 2 -offset_right = 1152.0 -offset_bottom = 26.0 [node name="HBoxContainer" type="HBoxContainer" parent="Header"] layout_mode = 2 -offset_right = 506.0 -offset_bottom = 26.0 size_flags_horizontal = 3 [node name="Label" type="Label" parent="Header/HBoxContainer"] layout_mode = 2 -offset_right = 86.0 -offset_bottom = 26.0 text = "EDIT: Array" [node name="HSeparator" type="HSeparator" parent="Header/HBoxContainer"] layout_mode = 2 -offset_left = 90.0 -offset_right = 506.0 -offset_bottom = 26.0 size_flags_horizontal = 3 [node name="Label" type="Label" parent="Header"] layout_mode = 2 -offset_left = 510.0 -offset_right = 642.0 -offset_bottom = 26.0 text = "PROPERTY NAME" [node name="HSeparator2" type="HSeparator" parent="Header"] layout_mode = 2 -offset_left = 646.0 -offset_right = 1152.0 -offset_bottom = 26.0 size_flags_horizontal = 3 [node name="HBoxContainer" type="HSplitContainer" parent="."] layout_mode = 2 -offset_top = 30.0 -offset_right = 1152.0 -offset_bottom = 91.0 split_offset = 380 [node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer"] layout_mode = 2 -offset_right = 380.0 -offset_bottom = 61.0 alignment = 2 [node name="Panel" type="MarginContainer" parent="HBoxContainer/HBoxContainer"] layout_mode = 2 -offset_right = 134.0 -offset_bottom = 61.0 size_flags_horizontal = 3 [node name="Label" type="TextEdit" parent="HBoxContainer/HBoxContainer/Panel"] layout_mode = 2 -offset_right = 134.0 -offset_bottom = 61.0 size_flags_vertical = 5 text = "[]" [node name="VSeparator2" type="VSeparator" parent="HBoxContainer/HBoxContainer"] layout_mode = 2 -offset_left = 138.0 -offset_right = 142.0 -offset_bottom = 61.0 [node name="Control" type="MarginContainer" parent="HBoxContainer/HBoxContainer"] layout_mode = 2 -offset_left = 146.0 -offset_right = 372.0 -offset_bottom = 61.0 [node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/HBoxContainer/Control"] layout_mode = 2 -offset_right = 226.0 -offset_bottom = 61.0 [node name="LineEdit" type="LineEdit" parent="HBoxContainer/HBoxContainer/Control/VBoxContainer"] layout_mode = 2 -offset_right = 226.0 -offset_bottom = 31.0 placeholder_text = "Input value to add/erase..." clear_button_enabled = true [node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/HBoxContainer/Control/VBoxContainer"] layout_mode = 2 -offset_top = 35.0 -offset_right = 226.0 -offset_bottom = 61.0 [node name="Label" type="Label" parent="HBoxContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer"] layout_mode = 2 -offset_right = 35.0 -offset_bottom = 26.0 text = "Add:" [node name="String" type="Button" parent="HBoxContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer"] layout_mode = 2 -offset_left = 39.0 -offset_right = 63.0 -offset_bottom = 26.0 icon = SubResource("ImageTexture_3oshq") script = ExtResource("2") icon_name = "String" [node name="Int" type="Button" parent="HBoxContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer"] layout_mode = 2 -offset_left = 67.0 -offset_right = 91.0 -offset_bottom = 26.0 icon = SubResource("ImageTexture_3oshq") script = ExtResource("2") icon_name = "int" [node name="Float" type="Button" parent="HBoxContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer"] layout_mode = 2 -offset_left = 95.0 -offset_right = 119.0 -offset_bottom = 26.0 icon = SubResource("ImageTexture_3oshq") script = ExtResource("2") icon_name = "float" [node name="Variant" type="Button" parent="HBoxContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer"] layout_mode = 2 -offset_left = 123.0 -offset_right = 147.0 -offset_bottom = 26.0 icon = SubResource("ImageTexture_3oshq") script = ExtResource("2") icon_name = "Variant" [node name="Label2" type="Label" parent="HBoxContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer"] layout_mode = 2 -offset_left = 151.0 -offset_right = 198.0 -offset_bottom = 26.0 text = "Erase:" [node name="Remove" type="Button" parent="HBoxContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer"] layout_mode = 2 -offset_left = 202.0 -offset_right = 226.0 -offset_bottom = 26.0 icon = SubResource("ImageTexture_3oshq") script = ExtResource("2") icon_name = "Remove" [node name="VSeparator" type="VSeparator" parent="HBoxContainer/HBoxContainer"] layout_mode = 2 -offset_left = 376.0 -offset_right = 380.0 -offset_bottom = 61.0 [node name="Control2" type="MarginContainer" parent="HBoxContainer"] layout_mode = 2 -offset_left = 392.0 -offset_right = 1152.0 -offset_bottom = 61.0 size_flags_horizontal = 3 [node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/Control2"] layout_mode = 2 -offset_right = 760.0 -offset_bottom = 61.0 alignment = 2 [node name="VSeparator2" type="VSeparator" parent="HBoxContainer/Control2/HBoxContainer"] layout_mode = 2 -offset_right = 4.0 -offset_bottom = 61.0 [node name="HFlowContainer" type="HFlowContainer" parent="HBoxContainer/Control2/HBoxContainer"] layout_mode = 2 -offset_left = 8.0 -offset_right = 760.0 -offset_bottom = 61.0 size_flags_horizontal = 3 [node name="Label" type="Label" parent="HBoxContainer/Control2/HBoxContainer/HFlowContainer"] layout_mode = 2 -offset_top = 2.0 -offset_right = 58.0 -offset_bottom = 28.0 text = "Recent:" [node name="OptionButton" type="OptionButton" parent="HBoxContainer/Control2/HBoxContainer/HFlowContainer"] layout_mode = 2 -offset_left = 62.0 -offset_right = 136.0 -offset_bottom = 31.0 item_count = 3 selected = 0 fit_to_longest_item = false @@ -229,9 +153,7 @@ popup/item_2/id = 2 [node name="AddRecentFromSel" type="Button" parent="HBoxContainer/Control2/HBoxContainer/HFlowContainer"] layout_mode = 2 -offset_left = 140.0 -offset_right = 164.0 -offset_bottom = 31.0 +tooltip_text = "Add from selected cells" icon = SubResource("ImageTexture_3oshq") script = ExtResource("2") icon_name = "ListSelect" diff --git a/addons/resources_spreadsheet_view/typed_editors/dock_texture.tscn b/addons/resources_spreadsheet_view/typed_editors/dock_texture.tscn index d93e860..00d8a67 100644 --- a/addons/resources_spreadsheet_view/typed_editors/dock_texture.tscn +++ b/addons/resources_spreadsheet_view/typed_editors/dock_texture.tscn @@ -15,84 +15,53 @@ metadata/_edit_use_anchors_ = true [node name="Header" type="HBoxContainer" parent="."] layout_mode = 2 -offset_right = 1152.0 -offset_bottom = 26.0 [node name="HBoxContainer" type="HBoxContainer" parent="Header"] layout_mode = 2 -offset_right = 506.0 -offset_bottom = 26.0 size_flags_horizontal = 3 [node name="Label" type="Label" parent="Header/HBoxContainer"] layout_mode = 2 -offset_right = 103.0 -offset_bottom = 26.0 text = "EDIT: Texture" [node name="HSeparator" type="HSeparator" parent="Header/HBoxContainer"] layout_mode = 2 -offset_left = 107.0 -offset_right = 506.0 -offset_bottom = 26.0 size_flags_horizontal = 3 [node name="Label" type="Label" parent="Header"] layout_mode = 2 -offset_left = 510.0 -offset_right = 642.0 -offset_bottom = 26.0 text = "PROPERTY NAME" [node name="HSeparator2" type="HSeparator" parent="Header"] layout_mode = 2 -offset_left = 646.0 -offset_right = 1152.0 -offset_bottom = 26.0 size_flags_horizontal = 3 [node name="CenterContainer" type="CenterContainer" parent="."] layout_mode = 2 -offset_top = 30.0 -offset_right = 1152.0 -offset_bottom = 126.0 [node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer"] layout_mode = 2 -offset_left = 394.0 -offset_right = 758.0 -offset_bottom = 96.0 alignment = 1 [node name="TextureRect" type="TextureRect" parent="CenterContainer/HBoxContainer"] -custom_minimum_size = Vector2i(96, 96) +custom_minimum_size = Vector2(96, 96) layout_mode = 2 -offset_right = 96.0 -offset_bottom = 96.0 size_flags_horizontal = 3 size_flags_vertical = 3 texture = ExtResource("2") -ignore_texture_size = true +expand_mode = 1 stretch_mode = 5 [node name="VSeparator" type="VSeparator" parent="CenterContainer/HBoxContainer"] layout_mode = 2 -offset_left = 100.0 -offset_right = 104.0 -offset_bottom = 96.0 [node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/HBoxContainer"] layout_mode = 2 -offset_left = 108.0 -offset_right = 364.0 -offset_bottom = 96.0 size_flags_horizontal = 3 auto_translate = false [node name="Label" type="Label" parent="CenterContainer/HBoxContainer/VBoxContainer"] layout_mode = 2 -offset_right = 256.0 -offset_bottom = 26.0 size_flags_vertical = 3 text = "Atlas Chopper" horizontal_alignment = 1 @@ -100,32 +69,21 @@ vertical_alignment = 1 [node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/HBoxContainer/VBoxContainer"] layout_mode = 2 -offset_top = 30.0 -offset_right = 256.0 -offset_bottom = 61.0 size_flags_vertical = 4 [node name="LineEdit" type="LineEdit" parent="CenterContainer/HBoxContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 -offset_right = 126.0 -offset_bottom = 31.0 size_flags_horizontal = 3 placeholder_text = "H Count" [node name="LineEdit2" type="LineEdit" parent="CenterContainer/HBoxContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 -offset_left = 130.0 -offset_right = 256.0 -offset_bottom = 31.0 size_flags_horizontal = 3 placeholder_text = "V Count" [node name="Button" type="Button" parent="CenterContainer/HBoxContainer/VBoxContainer"] -custom_minimum_size = Vector2i(256, 0) +custom_minimum_size = Vector2(256, 0) layout_mode = 2 -offset_top = 65.0 -offset_right = 256.0 -offset_bottom = 96.0 size_flags_vertical = 4 text = "Chop chop chop!!!"