|
| 1 | +[gd_scene load_steps=7 format=3 uid="uid://bdtetj0gs45hv"] |
| 2 | + |
| 3 | +[ext_resource type="Script" path="res://addons/block_code/ui/picker/categories/block_category_button.gd" id="1_pxxnl"] |
| 4 | + |
| 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 |
| 11 | + |
| 12 | +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ousiv"] |
| 13 | + |
| 14 | +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fyk0j"] |
| 15 | +bg_color = Color(1, 1, 1, 0.196078) |
| 16 | + |
| 17 | +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ha83k"] |
| 18 | +bg_color = Color(1, 1, 1, 0.392157) |
| 19 | + |
| 20 | +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_dgecf"] |
| 21 | + |
| 22 | +[node name="BlockCategoryButton" type="MarginContainer"] |
| 23 | +custom_minimum_size = Vector2(150, 0) |
| 24 | +offset_right = 148.0 |
| 25 | +offset_bottom = 32.0 |
| 26 | +script = ExtResource("1_pxxnl") |
| 27 | + |
| 28 | +[node name="HBoxContainer" type="HBoxContainer" parent="."] |
| 29 | +layout_mode = 2 |
| 30 | + |
| 31 | +[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer"] |
| 32 | +custom_minimum_size = Vector2(40, 40) |
| 33 | +layout_mode = 2 |
| 34 | +theme_override_constants/margin_left = 8 |
| 35 | +theme_override_constants/margin_top = 8 |
| 36 | +theme_override_constants/margin_right = 8 |
| 37 | +theme_override_constants/margin_bottom = 8 |
| 38 | + |
| 39 | +[node name="Panel" type="Panel" parent="HBoxContainer/MarginContainer"] |
| 40 | +unique_name_in_owner = true |
| 41 | +layout_mode = 2 |
| 42 | +theme_override_styles/panel = SubResource("StyleBoxFlat_eogpc") |
| 43 | + |
| 44 | +[node name="Label" type="Label" parent="HBoxContainer"] |
| 45 | +unique_name_in_owner = true |
| 46 | +layout_mode = 2 |
| 47 | +text = "Example" |
| 48 | + |
| 49 | +[node name="Button" type="Button" parent="."] |
| 50 | +layout_mode = 2 |
| 51 | +mouse_default_cursor_shape = 2 |
| 52 | +theme_override_styles/normal = SubResource("StyleBoxEmpty_ousiv") |
| 53 | +theme_override_styles/hover = SubResource("StyleBoxFlat_fyk0j") |
| 54 | +theme_override_styles/pressed = SubResource("StyleBoxFlat_ha83k") |
| 55 | +theme_override_styles/focus = SubResource("StyleBoxEmpty_dgecf") |
| 56 | + |
| 57 | +[connection signal="pressed" from="Button" to="." method="_on_button_pressed"] |
0 commit comments