-
Notifications
You must be signed in to change notification settings - Fork 0
/
TextBox.tscn
123 lines (103 loc) · 3.38 KB
/
TextBox.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[gd_scene load_steps=8 format=2]
[ext_resource path="res://TextBox.gd" type="Script" id=1]
[sub_resource type="StyleBoxFlat" id=11]
bg_color = Color( 1, 1, 1, 1 )
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color( 0, 0, 0, 1 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
anti_aliasing_size = 0.25
[sub_resource type="DynamicFontData" id=15]
font_path = "res://Art/Sen-ExtraBold.ttf"
[sub_resource type="DynamicFont" id=16]
size = 10
font_data = SubResource( 15 )
[sub_resource type="StyleBoxFlat" id=13]
bg_color = Color( 1, 1, 1, 1 )
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color( 0, 0, 0, 1 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
anti_aliasing_size = 0.25
[sub_resource type="DynamicFontData" id=8]
font_path = "res://Art/Sen-ExtraBold.ttf"
[sub_resource type="DynamicFont" id=14]
size = 14
font_data = SubResource( 8 )
[node name="TextBox" type="CanvasLayer"]
script = ExtResource( 1 )
[node name="TextContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 5.0
margin_top = 126.0
margin_right = -5.0
margin_bottom = -5.0
[node name="Background" type="PanelContainer" parent="TextContainer"]
margin_right = 246.0
margin_bottom = 61.0
custom_styles/panel = SubResource( 11 )
[node name="VBoxContainer" type="VBoxContainer" parent="TextContainer/Background"]
margin_left = 5.0
margin_top = 5.0
margin_right = 241.0
margin_bottom = 56.0
[node name="TopPadding" type="Control" parent="TextContainer/Background/VBoxContainer"]
margin_right = 236.0
margin_bottom = 1.0
rect_min_size = Vector2( 0, 1 )
[node name="HBoxContainer" type="HBoxContainer" parent="TextContainer/Background/VBoxContainer"]
margin_top = 5.0
margin_right = 236.0
margin_bottom = 51.0
size_flags_vertical = 3
[node name="LeftPadding" type="Control" parent="TextContainer/Background/VBoxContainer/HBoxContainer"]
margin_bottom = 46.0
[node name="Text" type="Label" parent="TextContainer/Background/VBoxContainer/HBoxContainer"]
margin_left = 4.0
margin_right = 232.0
margin_bottom = 46.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 16 )
text = "Accofding to all known laws of aviation, there is no way a bee should be able to fly. This is a test!"
autowrap = true
clip_text = true
[node name="RightPadding" type="Control" parent="TextContainer/Background/VBoxContainer/HBoxContainer"]
margin_left = 236.0
margin_right = 236.0
margin_bottom = 46.0
[node name="NameContainer" type="MarginContainer" parent="."]
margin_left = 19.0
margin_top = 105.0
margin_right = 71.0
margin_bottom = 136.0
[node name="Background" type="PanelContainer" parent="NameContainer"]
margin_right = 52.0
margin_bottom = 31.0
custom_styles/panel = SubResource( 13 )
[node name="Name" type="Label" parent="NameContainer/Background"]
margin_left = 5.0
margin_top = 6.0
margin_right = 47.0
margin_bottom = 24.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 14 )
text = "Sign"
align = 1
[node name="MarginContainer" type="MarginContainer" parent="NameContainer/Background"]
margin_left = 5.0
margin_top = 5.0
margin_right = 47.0
margin_bottom = 26.0