-
-
Notifications
You must be signed in to change notification settings - Fork 473
Expand file tree
/
Copy pathModifySelection.tscn
More file actions
92 lines (76 loc) · 3.04 KB
/
ModifySelection.tscn
File metadata and controls
92 lines (76 loc) · 3.04 KB
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
[gd_scene format=3 uid="uid://wcbpnsm7gptu"]
[ext_resource type="Script" uid="uid://tfdhqto6j5j0" path="res://src/UI/Nodes/Sliders/ValueSlider.gd" id="1_3jelw"]
[ext_resource type="Script" uid="uid://csbfkgg4y0vxc" path="res://src/UI/Dialogs/ModifySelection.gd" id="1_w6rs7"]
[node name="ModifySelection" type="ConfirmationDialog" unique_id=983472115]
oversampling_override = 1.0
title = "Expand selection"
position = Vector2i(0, 36)
size = Vector2i(266, 152)
visible = true
script = ExtResource("1_w6rs7")
[node name="Options" type="VBoxContainer" parent="." unique_id=2119590573]
offset_left = 8.0
offset_top = 8.0
offset_right = 258.0
offset_bottom = 103.0
[node name="CenterContent" type="HBoxContainer" parent="Options" unique_id=1429926721]
visible = false
layout_mode = 2
[node name="Label2" type="Label" parent="Options/CenterContent" unique_id=1767379214]
layout_mode = 2
text = "Center relative to content:"
[node name="RelativeCheckbox" type="CheckBox" parent="Options/CenterContent" unique_id=821537662]
layout_mode = 2
[node name="ExpandShrinkBorder" type="GridContainer" parent="Options" unique_id=1928153237]
layout_mode = 2
columns = 2
[node name="WidthLabel" type="Label" parent="Options/ExpandShrinkBorder" unique_id=1305189528]
layout_mode = 2
size_flags_horizontal = 3
text = "Width:"
[node name="WidthSlider" type="TextureProgressBar" parent="Options/ExpandShrinkBorder" unique_id=2860332]
custom_minimum_size = Vector2(0, 24)
layout_mode = 2
size_flags_horizontal = 3
focus_mode = 2
mouse_default_cursor_shape = 2
theme_type_variation = &"ValueSlider"
min_value = 1.0
max_value = 25.0
value = 1.0
allow_greater = true
nine_patch_stretch = true
stretch_margin_left = 3
stretch_margin_top = 3
stretch_margin_right = 3
stretch_margin_bottom = 3
script = ExtResource("1_3jelw")
[node name="BrushLabel" type="Label" parent="Options/ExpandShrinkBorder" unique_id=1965631495]
layout_mode = 2
size_flags_horizontal = 3
text = "Brush:"
[node name="BrushOptionButton" type="OptionButton" parent="Options/ExpandShrinkBorder" unique_id=159978937]
layout_mode = 2
size_flags_horizontal = 3
mouse_default_cursor_shape = 2
selected = 0
item_count = 3
popup/item_0/text = "Diamond"
popup/item_0/id = 0
popup/item_1/text = "Circle"
popup/item_1/id = 1
popup/item_2/text = "Square"
popup/item_2/id = 2
[node name="HSeparator" type="HSeparator" parent="Options" unique_id=43760856]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Options" unique_id=720656191]
layout_mode = 2
[node name="ContentLabel" type="Label" parent="Options/HBoxContainer" unique_id=1931323741]
layout_mode = 2
text = "Transform content"
[node name="WithContent" type="CheckBox" parent="Options/HBoxContainer" unique_id=337864889]
layout_mode = 2
[connection signal="about_to_popup" from="." to="." method="_on_about_to_popup"]
[connection signal="confirmed" from="." to="." method="_on_confirmed"]
[connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"]
[connection signal="toggled" from="Options/HBoxContainer/WithContent" to="." method="_on_with_content_toggled"]