Files
Kalulu/sources/lesson_screen/lesson_label_button.tscn
T
2024-05-14 13:57:52 +02:00

40 lines
1.2 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://bw820nbyowrqy"]
[ext_resource type="PackedScene" uid="uid://delcgui3v0eek" path="res://sources/lesson_screen/lesson_button.tscn" id="1_ngos0"]
[ext_resource type="Script" path="res://sources/lesson_screen/lesson_label_button.gd" id="2_vgde5"]
[node name="LessonLabelButton" instance=ExtResource("1_ngos0")]
script = ExtResource("2_vgde5")
images = Array[Texture]([])
text = ""
display_text = false
[node name="MarginContainer" type="MarginContainer" parent="." index="0"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20
[node name="ImagesContainer" type="HBoxContainer" parent="MarginContainer" index="0"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="MarginContainer/ImagesContainer" index="0"]
layout_mode = 2
[node name="Label" type="Label" parent="." index="1"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 50
horizontal_alignment = 1
vertical_alignment = 1