1
- [gd_scene load_steps =7 format =3 uid ="uid://bdtetj0gs45hv" ]
1
+ [gd_scene load_steps =8 format =3 uid ="uid://bdtetj0gs45hv" ]
2
2
3
3
[ext_resource type ="Script" path ="res://addons/block_code/ui/picker/categories/block_category_button.gd" id ="1_pxxnl" ]
4
+ [ext_resource type ="Texture2D" uid ="uid://cn4ub7dwl4ae5" path ="res://addons/block_code/ui/picker/categories/category_icons/block_code_node.svg" id ="2_s8lmp" ]
4
5
5
- [sub_resource type ="StyleBoxFlat" id ="StyleBoxFlat_eogpc " ]
6
- bg_color = Color (1 , 0 , 0 , 1 )
7
- corner_radius_top_left = 100
8
- corner_radius_top_right = 100
9
- corner_radius_bottom_right = 100
10
- corner_radius_bottom_left = 100
6
+ [sub_resource type ="StyleBoxFlat" id ="StyleBoxFlat_w0e7p " ]
7
+ bg_color = Color (1 , 1 , 1 , 1 )
8
+ corner_radius_top_left = 4
9
+ corner_radius_top_right = 4
10
+ corner_radius_bottom_right = 4
11
+ corner_radius_bottom_left = 4
11
12
12
- [sub_resource type ="StyleBoxEmpty" id ="StyleBoxEmpty_ousiv " ]
13
+ [sub_resource type ="StyleBoxEmpty" id ="StyleBoxEmpty_dgecf " ]
13
14
14
15
[sub_resource type ="StyleBoxFlat" id ="StyleBoxFlat_fyk0j" ]
15
16
bg_color = Color (1 , 1 , 1 , 0.196078 )
16
17
17
18
[sub_resource type ="StyleBoxFlat" id ="StyleBoxFlat_ha83k" ]
18
19
bg_color = Color (1 , 1 , 1 , 0.392157 )
19
20
20
- [sub_resource type ="StyleBoxEmpty" id ="StyleBoxEmpty_dgecf " ]
21
+ [sub_resource type ="StyleBoxEmpty" id ="StyleBoxEmpty_ousiv " ]
21
22
22
23
[node name ="BlockCategoryButton" type ="MarginContainer" ]
23
- custom_minimum_size = Vector2 (150 , 0 )
24
+ custom_minimum_size = Vector2 (140 , 0 )
24
25
offset_right = 148.0
25
26
offset_bottom = 32.0
26
27
script = ExtResource ("1_pxxnl" )
@@ -39,19 +40,33 @@ theme_override_constants/margin_bottom = 8
39
40
[node name ="Panel" type ="Panel" parent ="HBoxContainer/MarginContainer" ]
40
41
unique_name_in_owner = true
41
42
layout_mode = 2
42
- theme_override_styles/panel = SubResource ("StyleBoxFlat_eogpc" )
43
+ theme_override_styles/panel = SubResource ("StyleBoxFlat_w0e7p" )
44
+
45
+ [node name ="MarginContainer" type ="MarginContainer" parent ="HBoxContainer/MarginContainer" ]
46
+ layout_mode = 2
47
+ theme_override_constants/margin_left = 4
48
+ theme_override_constants/margin_top = 4
49
+ theme_override_constants/margin_right = 4
50
+ theme_override_constants/margin_bottom = 4
51
+
52
+ [node name ="Icon" type ="TextureRect" parent ="HBoxContainer/MarginContainer/MarginContainer" ]
53
+ unique_name_in_owner = true
54
+ layout_mode = 2
55
+ texture = ExtResource ("2_s8lmp" )
43
56
44
57
[node name ="Label" type ="Label" parent ="HBoxContainer" ]
45
58
unique_name_in_owner = true
46
59
layout_mode = 2
47
60
text = "Example"
48
61
49
62
[node name ="Button" type ="Button" parent ="." ]
63
+ unique_name_in_owner = true
50
64
layout_mode = 2
65
+ tooltip_text = "Example"
51
66
mouse_default_cursor_shape = 2
52
- theme_override_styles/normal = SubResource ("StyleBoxEmpty_ousiv " )
67
+ theme_override_styles/focus = SubResource ("StyleBoxEmpty_dgecf " )
53
68
theme_override_styles/hover = SubResource ("StyleBoxFlat_fyk0j" )
54
69
theme_override_styles/pressed = SubResource ("StyleBoxFlat_ha83k" )
55
- theme_override_styles/focus = SubResource ("StyleBoxEmpty_dgecf " )
70
+ theme_override_styles/normal = SubResource ("StyleBoxEmpty_ousiv " )
56
71
57
72
[connection signal ="pressed" from ="Button" to ="." method ="_on_button_pressed" ]
0 commit comments