]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Editor/CharacterEditor/char_edit_p_section_layout.tscn
Squashed commit of the following:
[wolf-seeking-sheep.git] / addons / dialogic / Editor / CharacterEditor / char_edit_p_section_layout.tscn
1 [gd_scene load_steps=3 format=3 uid="uid://crke8suvv52c6"]
2
3 [ext_resource type="Script" uid="uid://b4c8h4m22w5pj" path="res://addons/dialogic/Editor/CharacterEditor/char_edit_p_section_layout.gd" id="1_76vf2"]
4 [ext_resource type="PackedScene" uid="uid://dtimnsj014cu" path="res://addons/dialogic/Editor/Events/Fields/field_vector2.tscn" id="2_c8kyi"]
5
6 [node name="Layout" type="HFlowContainer"]
7 offset_right = 428.0
8 offset_bottom = 128.0
9 size_flags_horizontal = 3
10 script = ExtResource("1_76vf2")
11
12 [node name="Label3" type="Label" parent="."]
13 layout_mode = 2
14 text = "Ignore Main Scale: "
15
16 [node name="IgnoreScale" type="CheckBox" parent="."]
17 unique_name_in_owner = true
18 layout_mode = 2
19 tooltip_text = "This portrait will ignore the main scale."
20
21 [node name="HBoxContainer" type="HBoxContainer" parent="."]
22 layout_mode = 2
23
24 [node name="Label" type="Label" parent="HBoxContainer"]
25 layout_mode = 2
26 text = "Scale:"
27
28 [node name="PortraitScale" type="SpinBox" parent="HBoxContainer"]
29 unique_name_in_owner = true
30 layout_mode = 2
31 tooltip_text = "A scale to be applied on top of the main scale 
32 (unless ignore main scale is pressed)."
33 value = 100.0
34 allow_greater = true
35 suffix = "%"
36
37 [node name="HBoxContainer2" type="HBoxContainer" parent="."]
38 layout_mode = 2
39
40 [node name="Label2" type="Label" parent="HBoxContainer2"]
41 layout_mode = 2
42 text = "Offset:"
43
44 [node name="PortraitOffset" parent="HBoxContainer2" instance=ExtResource("2_c8kyi")]
45 unique_name_in_owner = true
46 layout_mode = 2
47 tooltip_text = "Offset that is applied on top of the main portrait offset."
48
49 [node name="MirrorOption" type="HBoxContainer" parent="."]
50 layout_mode = 2
51
52 [node name="Label" type="Label" parent="MirrorOption"]
53 layout_mode = 2
54 text = "Mirror:"
55
56 [node name="PortraitMirror" type="CheckBox" parent="MirrorOption"]
57 unique_name_in_owner = true
58 layout_mode = 2
59 tooltip_text = "Mirroring that is applied on top of the main portrait mirror."
60
61 [connection signal="toggled" from="IgnoreScale" to="." method="_on_ignore_scale_toggled"]
62 [connection signal="value_changed" from="HBoxContainer/PortraitScale" to="." method="_on_portrait_scale_value_changed"]
63 [connection signal="value_changed" from="HBoxContainer2/PortraitOffset" to="." method="_on_portrait_offset_value_changed"]
64 [connection signal="toggled" from="MirrorOption/PortraitMirror" to="." method="_on_portrait_mirror_toggled"]