forked from GDQuest/learn-gdscript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUILesson.tscn
102 lines (90 loc) · 2.98 KB
/
UILesson.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[gd_scene load_steps=5 format=2]
[ext_resource path="res://ui/theme/gdscript_app_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/UILesson.gd" type="Script" id=2]
[ext_resource path="res://ui/theme/fonts/font_title_big.tres" type="DynamicFont" id=4]
[ext_resource path="res://course/lesson-4-drawing-a-rectangle/lesson.tres" type="Resource" id=5]
[node name="UILesson" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_right = 12
custom_constants/margin_top = 20
custom_constants/margin_left = 12
custom_constants/margin_bottom = 20
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
test_lesson = ExtResource( 5 )
[node name="ScrollContainer" type="ScrollContainer" parent="."]
margin_left = 12.0
margin_top = 20.0
margin_right = 1908.0
margin_bottom = 1060.0
rect_min_size = Vector2( 960, 0 )
rect_clip_content = false
focus_neighbour_top = NodePath(".")
focus_neighbour_bottom = NodePath(".")
focus_mode = 1
mouse_filter = 1
size_flags_vertical = 3
theme = ExtResource( 1 )
follow_focus = true
scroll_horizontal_enabled = false
__meta__ = {
"_editor_description_": ""
}
[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer"]
margin_right = 1896.0
margin_bottom = 282.0
mouse_filter = 1
size_flags_horizontal = 3
custom_constants/margin_top = 40
[node name="Column" type="VBoxContainer" parent="ScrollContainer/MarginContainer"]
margin_left = 568.0
margin_top = 40.0
margin_right = 1328.0
margin_bottom = 262.0
rect_min_size = Vector2( 760, 0 )
size_flags_horizontal = 4
size_flags_vertical = 3
theme = ExtResource( 1 )
custom_constants/separation = 6
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" type="Label" parent="ScrollContainer/MarginContainer/Column" groups=["navigation_text"]]
margin_right = 760.0
margin_bottom = 40.0
custom_fonts/font = ExtResource( 4 )
text = "Title"
align = 1
[node name="HSeparator" type="HSeparator" parent="ScrollContainer/MarginContainer/Column"]
margin_top = 46.0
margin_right = 760.0
margin_bottom = 76.0
custom_constants/separation = 30
[node name="ContentBlocks" type="VBoxContainer" parent="ScrollContainer/MarginContainer/Column"]
margin_top = 82.0
margin_right = 760.0
margin_bottom = 82.0
custom_constants/separation = 28
[node name="Column" type="VBoxContainer" parent="ScrollContainer/MarginContainer/Column"]
margin_top = 88.0
margin_right = 760.0
margin_bottom = 222.0
custom_constants/separation = 32
[node name="HSeparator" type="HSeparator" parent="ScrollContainer/MarginContainer/Column/Column"]
margin_right = 760.0
margin_bottom = 30.0
custom_constants/separation = 30
[node name="PracticesTitle" type="Label" parent="ScrollContainer/MarginContainer/Column/Column" groups=["navigation_text"]]
margin_top = 62.0
margin_right = 760.0
margin_bottom = 102.0
custom_fonts/font = ExtResource( 4 )
text = "Practices"
align = 1
[node name="Practices" type="VBoxContainer" parent="ScrollContainer/MarginContainer/Column/Column"]
margin_top = 134.0
margin_right = 760.0
margin_bottom = 134.0