-
-
Notifications
You must be signed in to change notification settings - Fork 183
/
Copy pathRevealer.tscn
100 lines (85 loc) · 2.79 KB
/
Revealer.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
[gd_scene load_steps=14 format=2]
[ext_resource path="res://ui/icons/chevron.png" type="Texture" id=1]
[ext_resource path="res://ui/components/Revealer.gd" type="Script" id=2]
[ext_resource path="res://ui/theme/fonts/font_title_small.tres" type="DynamicFont" id=3]
[ext_resource path="res://ui/theme/revealer_content_panel.tres" type="StyleBox" id=4]
[ext_resource path="res://ui/theme/revealer_title_panel.tres" type="StyleBox" id=5]
[ext_resource path="res://ui/theme/gdscript_app_theme.tres" type="Theme" id=6]
[ext_resource path="res://ui/theme/fonts/font_button_small.tres" type="DynamicFont" id=7]
[sub_resource type="StyleBoxEmpty" id=1]
[sub_resource type="StyleBoxEmpty" id=3]
[sub_resource type="StyleBoxEmpty" id=4]
[sub_resource type="StyleBoxEmpty" id=2]
[sub_resource type="StyleBoxEmpty" id=5]
[sub_resource type="StyleBoxEmpty" id=6]
[node name="Revealer" type="Container"]
margin_right = 136.0
margin_bottom = 46.0
rect_clip_content = true
theme = ExtResource( 6 )
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
title_font = ExtResource( 3 )
title_panel = ExtResource( 5 )
content_panel = ExtResource( 4 )
[node name="Tween" type="Tween" parent="."]
[node name="ToggleBar" type="PanelContainer" parent="."]
modulate = Color( 1, 1, 1, 0.65 )
margin_left = 8.0
margin_top = 10.0
margin_right = 128.0
margin_bottom = 36.0
rect_min_size = Vector2( 120, 0 )
size_flags_horizontal = 3
custom_styles/panel = SubResource( 1 )
[node name="ToggleCapturer" type="Button" parent="ToggleBar"]
margin_right = 120.0
margin_bottom = 26.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 7 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/focus = SubResource( 2 )
custom_styles/disabled = SubResource( 5 )
custom_styles/normal = SubResource( 6 )
toggle_mode = true
flat = true
align = 0
[node name="BarLayout" type="HBoxContainer" parent="ToggleBar"]
margin_right = 120.0
margin_bottom = 26.0
mouse_filter = 2
[node name="Label" type="Label" parent="ToggleBar/BarLayout"]
margin_right = 82.0
margin_bottom = 26.0
size_flags_horizontal = 3
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_fonts/font = ExtResource( 3 )
text = "Expand"
valign = 1
[node name="ToggleIcon" type="Control" parent="ToggleBar/BarLayout"]
margin_left = 98.0
margin_top = 1.0
margin_right = 120.0
margin_bottom = 25.0
rect_min_size = Vector2( 22, 24 )
mouse_filter = 2
size_flags_vertical = 4
[node name="Texture" type="TextureRect" parent="ToggleBar/BarLayout/ToggleIcon"]
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -22.0
grow_horizontal = 0
grow_vertical = 0
rect_pivot_offset = Vector2( 11, 12 )
mouse_filter = 2
size_flags_horizontal = 8
texture = ExtResource( 1 )
stretch_mode = 6
__meta__ = {
"_edit_use_anchors_": false
}