miggor-StreamGraph/graph_node_renderer/settings_dialog.tscn
Lera Elvoé ed5a0f427b add shortcuts (#145)
closes #133

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/145
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-04-14 12:40:26 +00:00

86 lines
2.8 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://dodqetbke5wji"]
[ext_resource type="Script" path="res://graph_node_renderer/settings_dialog.gd" id="1_lh25g"]
[ext_resource type="PackedScene" uid="uid://bvjxc2vyx35b1" path="res://graph_node_renderer/shortcuts/shortcuts_editor.tscn" id="2_5tyfb"]
[node name="SettingsDialog" type="AcceptDialog"]
title = "Settings"
initial_position = 1
size = Vector2i(705, 370)
min_size = Vector2i(500, 250)
ok_button_text = "Close"
dialog_close_on_escape = false
script = ExtResource("1_lh25g")
[node name="HSplitContainer" type="HSplitContainer" parent="."]
offset_left = 8.0
offset_top = 8.0
offset_right = 697.0
offset_bottom = 321.0
[node name="CategoryTree" type="Tree" parent="HSplitContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
hide_root = true
[node name="CategoryContent" type="Control" parent="HSplitContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[node name="General" type="VBoxContainer" parent="HSplitContainer/CategoryContent"]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="HSplitContainer/CategoryContent/General"]
layout_mode = 2
text = "Library Group Search Paths"
[node name="LibraryGroupPaths" type="PanelContainer" parent="HSplitContainer/CategoryContent/General"]
layout_mode = 2
size_flags_vertical = 3
[node name="Shortcuts" type="VBoxContainer" parent="HSplitContainer/CategoryContent"]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="HSplitContainer/CategoryContent/Shortcuts"]
layout_mode = 2
text = "Shortcuts"
[node name="PanelContainer" type="PanelContainer" parent="HSplitContainer/CategoryContent/Shortcuts"]
layout_mode = 2
size_flags_vertical = 3
[node name="ScrollContainer" type="ScrollContainer" parent="HSplitContainer/CategoryContent/Shortcuts/PanelContainer"]
layout_mode = 2
horizontal_scroll_mode = 0
[node name="MarginContainer" type="MarginContainer" parent="HSplitContainer/CategoryContent/Shortcuts/PanelContainer/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_constants/margin_left = 4
theme_override_constants/margin_top = 4
theme_override_constants/margin_right = 4
theme_override_constants/margin_bottom = 4
[node name="ShortcutsEditor" parent="HSplitContainer/CategoryContent/Shortcuts/PanelContainer/ScrollContainer/MarginContainer" instance=ExtResource("2_5tyfb")]
unique_name_in_owner = true
layout_mode = 2
[node name="Label2" type="Label" parent="HSplitContainer/CategoryContent/Shortcuts"]
layout_mode = 2
text = "Click on a shortcut to change it.
Press Escape to cancel the change or Enter to confirm it."