diff --git a/Tabs/Main.tscn b/Tabs/Main.tscn index 4386bf7..79646f3 100644 --- a/Tabs/Main.tscn +++ b/Tabs/Main.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=5 format=2] [ext_resource path="res://Scripts/TabMain.gd" type="Script" id=1] [ext_resource path="res://Font/HeaderFont.tres" type="DynamicFont" id=2] -[ext_resource path="res://Font/SectionFont.tres" type="DynamicFont" id=3] +[ext_resource path="res://Font/DefaultFont.tres" type="DynamicFont" id=3] +[ext_resource path="res://Font/SectionFont.tres" type="DynamicFont" id=4] [node name="Main" type="ScrollContainer"] anchor_right = 1.0 @@ -12,134 +13,156 @@ size_flags_vertical = 3 scroll_horizontal_enabled = false [node name="Container" type="VBoxContainer" parent="."] -margin_right = 1024.0 -margin_bottom = 600.0 +margin_right = 1012.0 +margin_bottom = 673.0 size_flags_horizontal = 3 size_flags_vertical = 3 script = ExtResource( 1 ) -[node name="SettingsHeader" type="Label" parent="Container"] -margin_right = 1024.0 +[node name="ThemeEditor" type="Label" parent="Container"] +margin_right = 1012.0 margin_bottom = 67.0 +size_flags_horizontal = 3 custom_fonts/font = ExtResource( 2 ) -text = "Editor settings" +text = "Hedgewars Theme Editor 3" +align = 1 -[node name="GamePathHeader" type="Label" parent="Container"] +[node name="Version" type="Label" parent="Container"] margin_top = 71.0 -margin_right = 1024.0 -margin_bottom = 113.0 +margin_right = 1012.0 +margin_bottom = 94.0 custom_fonts/font = ExtResource( 3 ) +text = "v0.7beta" +align = 2 + +[node name="HSeparator" type="HSeparator" parent="Container"] +margin_top = 98.0 +margin_right = 1012.0 +margin_bottom = 102.0 + +[node name="SettingsHeader" type="Label" parent="Container"] +margin_top = 106.0 +margin_right = 1012.0 +margin_bottom = 173.0 +custom_fonts/font = ExtResource( 2 ) +text = "Editor settings" + +[node name="GamePathHeader" type="Label" parent="Container"] +margin_top = 177.0 +margin_right = 1012.0 +margin_bottom = 219.0 +custom_fonts/font = ExtResource( 4 ) text = "Game path" align = 1 [node name="GamePath" type="HBoxContainer" parent="Container"] -margin_top = 117.0 -margin_right = 1024.0 -margin_bottom = 146.0 +margin_top = 223.0 +margin_right = 1012.0 +margin_bottom = 252.0 alignment = 1 [node name="Label" type="Label" parent="Container/GamePath"] -margin_left = 498.0 +margin_left = 492.0 margin_top = 3.0 -margin_right = 498.0 +margin_right = 492.0 margin_bottom = 26.0 [node name="Button" type="Button" parent="Container/GamePath"] -margin_left = 502.0 -margin_right = 526.0 +margin_left = 496.0 +margin_right = 520.0 margin_bottom = 29.0 text = "..." [node name="UserPathHeader" type="Label" parent="Container"] -margin_top = 150.0 -margin_right = 1024.0 -margin_bottom = 192.0 -custom_fonts/font = ExtResource( 3 ) +margin_top = 256.0 +margin_right = 1012.0 +margin_bottom = 298.0 +custom_fonts/font = ExtResource( 4 ) text = "User path" align = 1 [node name="UserPath" type="HBoxContainer" parent="Container"] -margin_top = 196.0 -margin_right = 1024.0 -margin_bottom = 225.0 +margin_top = 302.0 +margin_right = 1012.0 +margin_bottom = 331.0 alignment = 1 [node name="Label" type="Label" parent="Container/UserPath"] -margin_left = 498.0 +margin_left = 492.0 margin_top = 3.0 -margin_right = 498.0 +margin_right = 492.0 margin_bottom = 26.0 [node name="Button" type="Button" parent="Container/UserPath"] -margin_left = 502.0 -margin_right = 526.0 +margin_left = 496.0 +margin_right = 520.0 margin_bottom = 29.0 text = "..." [node name="MiscHeader" type="Label" parent="Container"] -margin_top = 229.0 -margin_right = 1024.0 -margin_bottom = 271.0 -custom_fonts/font = ExtResource( 3 ) +margin_top = 335.0 +margin_right = 1012.0 +margin_bottom = 377.0 +custom_fonts/font = ExtResource( 4 ) text = "Misc" align = 1 [node name="MaximizeContainer" type="HBoxContainer" parent="Container"] -margin_top = 275.0 -margin_right = 1024.0 -margin_bottom = 315.0 +margin_top = 381.0 +margin_right = 1012.0 +margin_bottom = 421.0 alignment = 1 [node name="EnableMaximize" type="CheckButton" parent="Container/MaximizeContainer"] -margin_left = 403.0 -margin_right = 620.0 +margin_left = 397.0 +margin_right = 614.0 margin_bottom = 40.0 text = "Maximize on start" align = 1 [node name="LanguageContainer" type="HBoxContainer" parent="Container"] -margin_top = 319.0 -margin_right = 1024.0 -margin_bottom = 348.0 +margin_top = 425.0 +margin_right = 1012.0 +margin_bottom = 454.0 alignment = 1 [node name="Label" type="Label" parent="Container/LanguageContainer"] -margin_left = 416.0 +margin_left = 410.0 margin_top = 3.0 -margin_right = 563.0 +margin_right = 557.0 margin_bottom = 26.0 text = "Preferred language" align = 1 [node name="LanguageList" type="OptionButton" parent="Container/LanguageContainer"] -margin_left = 567.0 -margin_right = 608.0 +margin_left = 561.0 +margin_right = 602.0 margin_bottom = 29.0 [node name="ThemesHeader" type="Label" parent="Container"] -margin_top = 352.0 -margin_right = 1024.0 -margin_bottom = 419.0 +margin_top = 458.0 +margin_right = 1012.0 +margin_bottom = 525.0 custom_fonts/font = ExtResource( 2 ) text = "Themes" [node name="PackHeader" type="Label" parent="Container"] -margin_top = 423.0 -margin_right = 1024.0 -margin_bottom = 465.0 -custom_fonts/font = ExtResource( 3 ) +margin_top = 529.0 +margin_right = 1012.0 +margin_bottom = 571.0 +custom_fonts/font = ExtResource( 4 ) text = "Pack themes" align = 1 [node name="PackContainer" type="HBoxContainer" parent="Container"] -margin_top = 469.0 -margin_right = 1024.0 -margin_bottom = 509.0 +margin_top = 575.0 +margin_right = 1012.0 +margin_bottom = 615.0 alignment = 1 [node name="PackThemes" type="Button" parent="Container/PackContainer"] -margin_left = 457.0 -margin_right = 566.0 +margin_left = 451.0 +margin_right = 560.0 margin_bottom = 40.0 rect_min_size = Vector2( 0, 40 ) text = "Pack themes" @@ -189,7 +212,7 @@ text = "Include custom music" visible = false margin_right = 271.0 margin_bottom = 67.0 -custom_fonts/font = ExtResource( 3 ) +custom_fonts/font = ExtResource( 4 ) text = "Save theme" align = 1 @@ -237,10 +260,10 @@ margin_bottom = 40.0 text = "Enable autosave" [node name="SelectThemeHeader" type="Label" parent="Container"] -margin_top = 513.0 -margin_right = 1024.0 -margin_bottom = 555.0 -custom_fonts/font = ExtResource( 3 ) +margin_top = 619.0 +margin_right = 1012.0 +margin_bottom = 661.0 +custom_fonts/font = ExtResource( 4 ) text = "Select theme" align = 1 @@ -253,20 +276,20 @@ text = "Select themes to pack" align = 1 [node name="ThemeAlign" type="HBoxContainer" parent="Container"] -margin_top = 559.0 -margin_right = 1024.0 -margin_bottom = 559.0 +margin_top = 665.0 +margin_right = 1012.0 +margin_bottom = 665.0 alignment = 1 [node name="ThemesList" type="GridContainer" parent="Container/ThemeAlign"] -margin_left = 512.0 -margin_right = 512.0 +margin_left = 506.0 +margin_right = 506.0 rect_clip_content = true [node name="FileDialog" type="Control" parent="Container"] -margin_top = 563.0 -margin_right = 1024.0 -margin_bottom = 563.0 +margin_top = 669.0 +margin_right = 1012.0 +margin_bottom = 669.0 [node name="GameDialog" type="FileDialog" parent="Container/FileDialog"] margin_left = 330.0 @@ -290,3 +313,8 @@ access = 2 current_dir = "X:/Inne/Hedgewars/Theme Editor 3" current_path = "X:/Inne/Hedgewars/Theme Editor 3/" +[node name="Control" type="Control" parent="Container"] +margin_top = 673.0 +margin_right = 1012.0 +margin_bottom = 673.0 +