tickle-godot-app/main.tscn
2023-05-09 21:08:49 +03:00

142 lines
4.1 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://w4airtd0kofc"]
[ext_resource type="Script" path="res://main.gd" id="1_t6a3l"]
[sub_resource type="LabelSettings" id="LabelSettings_6csy6"]
font_color = Color(1, 1, 1, 0.752941)
[node name="Main" type="Control"]
layout_mode = 3
anchor_left = 0.0399306
anchor_top = 0.0802469
anchor_right = 0.960069
anchor_bottom = 0.919753
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_t6a3l")
metadata/_edit_use_anchors_ = true
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
alignment = 1
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Articles folder:"
[node name="SelectFolderButton" type="Button" parent="VBoxContainer/HBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "Select"
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/HBoxContainer"]
visible = false
layout_mode = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
alignment = 1
[node name="StartServerButton" type="Button" parent="VBoxContainer/HBoxContainer/HBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
text = "Start server"
[node name="OpenInBrowserButton" type="Button" parent="VBoxContainer/HBoxContainer/HBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
disabled = true
text = "Open in browser"
[node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
split_offset = 236
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HSplitContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/HSplitContainer/VBoxContainer"]
layout_mode = 2
text = "Files"
[node name="FileTree" type="Tree" parent="VBoxContainer/HSplitContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
hide_root = true
metadata/_edit_group_ = true
[node name="DnDHelpLabel" type="Label" parent="VBoxContainer/HSplitContainer/VBoxContainer/FileTree"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "Drag and drop files here
Or select a folder above"
label_settings = SubResource("LabelSettings_6csy6")
horizontal_alignment = 1
vertical_alignment = 1
[node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer/HSplitContainer"]
layout_mode = 2
[node name="GridContainer" type="GridContainer" parent="VBoxContainer/HSplitContainer/VBoxContainer2"]
layout_mode = 2
columns = 2
[node name="Label" type="Label" parent="VBoxContainer/HSplitContainer/VBoxContainer2/GridContainer"]
layout_mode = 2
text = "Article name"
[node name="ArticleNameLineEdit" type="LineEdit" parent="VBoxContainer/HSplitContainer/VBoxContainer2/GridContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[node name="Label2" type="Label" parent="VBoxContainer/HSplitContainer/VBoxContainer2/GridContainer"]
layout_mode = 2
text = "Article date"
[node name="ArticleDateLineEdit" type="LineEdit" parent="VBoxContainer/HSplitContainer/VBoxContainer2/GridContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "YYYY-MM-DD"
[node name="Label" type="Label" parent="VBoxContainer/HSplitContainer/VBoxContainer2"]
layout_mode = 2
text = "Content"
[node name="ContentTextEdit" type="TextEdit" parent="VBoxContainer/HSplitContainer/VBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
editable = false
caret_blink = true
[node name="ServerFolderDialog" type="FileDialog" parent="."]
unique_name_in_owner = true
initial_position = 2
title = "Open a Directory"
size = Vector2i(768, 469)
ok_button_text = "Select Curent Folder"
file_mode = 2
access = 2