forked from LGDG/ExampleProject
Move windows into Windows control
It's annoying to find all the windows so I'd like them to be childed under one node to make that easier.
This commit is contained in:
parent
23f77441bc
commit
cc629bfc42
|
@ -416,23 +416,32 @@ text = "Inventory
|
||||||
"
|
"
|
||||||
script = SubResource("GDScript_2vlp5")
|
script = SubResource("GDScript_2vlp5")
|
||||||
|
|
||||||
[node name="DesktopWindow" parent="." node_paths=PackedStringArray("desktop", "maximized_windows", "taskbar") instance=ExtResource("11_m0w0q")]
|
[node name="Windows" type="Control" parent="."]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
metadata/_edit_lock_ = true
|
||||||
|
|
||||||
|
[node name="DesktopWindow" parent="Windows" node_paths=PackedStringArray("desktop", "maximized_windows", "taskbar") instance=ExtResource("11_m0w0q")]
|
||||||
offset_left = 132.0
|
offset_left = 132.0
|
||||||
offset_top = 185.0
|
offset_top = 185.0
|
||||||
offset_right = 293.0
|
offset_right = 293.0
|
||||||
offset_bottom = 320.0
|
offset_bottom = 320.0
|
||||||
desktop = NodePath("..")
|
desktop = NodePath("../..")
|
||||||
maximized_windows = NodePath("../VBoxContainer/MaximizedWindows")
|
maximized_windows = NodePath("../../VBoxContainer/MaximizedWindows")
|
||||||
taskbar = NodePath("../VBoxContainer/TaskBar")
|
taskbar = NodePath("../../VBoxContainer/TaskBar")
|
||||||
|
|
||||||
[node name="DesktopWindow2" parent="." node_paths=PackedStringArray("desktop", "maximized_windows", "taskbar") instance=ExtResource("11_m0w0q")]
|
[node name="DesktopWindow2" parent="Windows" node_paths=PackedStringArray("desktop", "maximized_windows", "taskbar") instance=ExtResource("11_m0w0q")]
|
||||||
offset_left = 190.0
|
offset_left = 190.0
|
||||||
offset_top = 197.0
|
offset_top = 197.0
|
||||||
offset_right = 351.0
|
offset_right = 351.0
|
||||||
offset_bottom = 332.0
|
offset_bottom = 332.0
|
||||||
desktop = NodePath("..")
|
desktop = NodePath("../..")
|
||||||
maximized_windows = NodePath("../VBoxContainer/MaximizedWindows")
|
maximized_windows = NodePath("../../VBoxContainer/MaximizedWindows")
|
||||||
taskbar = NodePath("../VBoxContainer/TaskBar")
|
taskbar = NodePath("../../VBoxContainer/TaskBar")
|
||||||
|
|
||||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||||
stream = ExtResource("12_16brn")
|
stream = ExtResource("12_16brn")
|
||||||
|
|
Loading…
Reference in New Issue