From 1bb6c48a359190fe6f14e22b9e3c1e8097653801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Tue, 9 May 2023 16:55:19 +0300 Subject: [PATCH] ui wireframe --- main.tscn | 127 ++++++++++++++++++++++++++++++++++++++++++++++++++ project.godot | 1 + 2 files changed, 128 insertions(+) create mode 100644 main.tscn diff --git a/main.tscn b/main.tscn new file mode 100644 index 0000000..0ca9625 --- /dev/null +++ b/main.tscn @@ -0,0 +1,127 @@ +[gd_scene load_steps=2 format=3 uid="uid://w4airtd0kofc"] + +[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 +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 +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 +caret_blink = true diff --git a/project.godot b/project.godot index e20f0a8..7d8905f 100644 --- a/project.godot +++ b/project.godot @@ -11,5 +11,6 @@ config_version=5 [application] config/name="Tickle App" +run/main_scene="res://main.tscn" config/features=PackedStringArray("4.0", "Forward Plus") config/icon="res://icon.svg"