37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://c2mebh70fr4p3"]
|
|
|
|
[ext_resource type="Script" path="res://components/note_item/note_item.gd" id="1_hue52"]
|
|
[ext_resource type="Texture2D" uid="uid://bhqx6frqdw5bc" path="res://assets/next.png" id="1_xruk3"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q7ab1"]
|
|
bg_color = Color(1, 1, 1, 0.784314)
|
|
corner_radius_top_left = 6
|
|
corner_radius_top_right = 6
|
|
corner_radius_bottom_right = 6
|
|
corner_radius_bottom_left = 6
|
|
|
|
[node name="NoteItem" type="PanelContainer"]
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_q7ab1")
|
|
script = ExtResource("1_hue52")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 9
|
|
theme_override_constants/margin_top = 6
|
|
theme_override_constants/margin_right = 9
|
|
theme_override_constants/margin_bottom = 6
|
|
|
|
[node name="Button" type="Button" parent="MarginContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Hello World
|
|
"
|
|
icon = ExtResource("1_xruk3")
|
|
flat = true
|
|
alignment = 0
|
|
clip_text = true
|
|
icon_alignment = 2
|
|
expand_icon = true
|
|
|
|
[connection signal="pressed" from="MarginContainer/Button" to="." method="_on_button_pressed"]
|