|
1 | | -[gd_scene load_steps=5 format=3 uid="uid://drbpisn5f3h8y"] |
| 1 | +[gd_scene load_steps=7 format=3 uid="uid://drbpisn5f3h8y"] |
2 | 2 |
|
3 | 3 | [ext_resource type="Script" uid="uid://byotadn432paf" path="res://material_maker/panels/library/library_tree.gd" id="1"] |
4 | 4 | [ext_resource type="Script" uid="uid://cg0s65b0doku6" path="res://material_maker/panels/library/library.gd" id="1_748nq"] |
5 | 5 | [ext_resource type="Texture2D" uid="uid://c0j4px4n72di5" path="res://material_maker/icons/icons.tres" id="3"] |
| 6 | +[ext_resource type="Texture2D" uid="uid://1s0c37uoj4rf" path="res://material_maker/theme/default_theme_icons.svg" id="5_55s42"] |
6 | 7 |
|
7 | 8 | [sub_resource type="AtlasTexture" id="1"] |
8 | 9 | atlas = ExtResource("3") |
9 | 10 | region = Rect2(0, 0, 16, 16) |
10 | 11 |
|
| 12 | +[sub_resource type="AtlasTexture" id="AtlasTexture_xdn16"] |
| 13 | +atlas = ExtResource("5_55s42") |
| 14 | +region = Rect2(0, 64, 15, 16) |
| 15 | + |
11 | 16 | [node name="Library" type="PanelContainer"] |
12 | 17 | offset_right = 323.0 |
13 | 18 | offset_bottom = 391.0 |
@@ -66,12 +71,37 @@ auto_tooltip = false |
66 | 71 | script = ExtResource("1") |
67 | 72 |
|
68 | 73 | [node name="GetFromWebsite" type="Button" parent="Library"] |
| 74 | +custom_minimum_size = Vector2(0, 24) |
69 | 75 | layout_mode = 2 |
70 | 76 | size_flags_vertical = 4 |
71 | 77 | tooltip_text = "Get more nodes from website" |
72 | | -text = "Browse Community Nodes" |
73 | 78 | clip_text = true |
74 | 79 |
|
| 80 | +[node name="HBoxContainer" type="HBoxContainer" parent="Library/GetFromWebsite"] |
| 81 | +layout_mode = 1 |
| 82 | +anchors_preset = 8 |
| 83 | +anchor_left = 0.5 |
| 84 | +anchor_top = 0.5 |
| 85 | +anchor_right = 0.5 |
| 86 | +anchor_bottom = 0.5 |
| 87 | +offset_left = -113.0 |
| 88 | +offset_top = -11.5 |
| 89 | +offset_right = 113.0 |
| 90 | +offset_bottom = 11.5 |
| 91 | +grow_horizontal = 2 |
| 92 | +grow_vertical = 2 |
| 93 | +theme_override_constants/separation = 1 |
| 94 | + |
| 95 | +[node name="Download" type="TextureRect" parent="Library/GetFromWebsite/HBoxContainer"] |
| 96 | +unique_name_in_owner = true |
| 97 | +layout_mode = 2 |
| 98 | +texture = SubResource("AtlasTexture_xdn16") |
| 99 | +expand_mode = 2 |
| 100 | + |
| 101 | +[node name="Label" type="Label" parent="Library/GetFromWebsite/HBoxContainer"] |
| 102 | +layout_mode = 2 |
| 103 | +text = "Browse Community Nodes" |
| 104 | + |
75 | 105 | [node name="ItemMenu" type="PopupMenu" parent="."] |
76 | 106 | unique_name_in_owner = true |
77 | 107 | item_count = 6 |
|
0 commit comments