From edd6f6d6d4eb8a5dd8606e5071e6e4327a8487e9 Mon Sep 17 00:00:00 2001 From: Nathan Lovato Date: Tue, 11 Feb 2020 12:55:37 -0600 Subject: [PATCH] Add resizing support, increase default font size Closes #21 --- project/assets/theme/fonts/default_font.tres | 2 +- project/assets/theme/fonts/default_font_bold.tres | 2 +- project/assets/theme/fonts/default_font_code.tres | 2 +- project/assets/theme/fonts/font_title.tres | 5 +---- project/project.godot | 4 ++++ 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/project/assets/theme/fonts/default_font.tres b/project/assets/theme/fonts/default_font.tres index d0e94aa..7ca6e3a 100644 --- a/project/assets/theme/fonts/default_font.tres +++ b/project/assets/theme/fonts/default_font.tres @@ -3,6 +3,6 @@ [ext_resource path="res://assets/theme/fonts/montserrat/Montserrat-Medium.ttf" type="DynamicFontData" id=1] [resource] -size = 20 +size = 26 use_filter = true font_data = ExtResource( 1 ) diff --git a/project/assets/theme/fonts/default_font_bold.tres b/project/assets/theme/fonts/default_font_bold.tres index 0ab7209..92dcae0 100644 --- a/project/assets/theme/fonts/default_font_bold.tres +++ b/project/assets/theme/fonts/default_font_bold.tres @@ -3,6 +3,6 @@ [ext_resource path="res://assets/theme/fonts/montserrat/Montserrat-Bold.ttf" type="DynamicFontData" id=1] [resource] -size = 20 +size = 26 use_filter = true font_data = ExtResource( 1 ) diff --git a/project/assets/theme/fonts/default_font_code.tres b/project/assets/theme/fonts/default_font_code.tres index ea05d17..0138558 100644 --- a/project/assets/theme/fonts/default_font_code.tres +++ b/project/assets/theme/fonts/default_font_code.tres @@ -3,6 +3,6 @@ [ext_resource path="res://assets/theme/fonts/source_code_pro/SourceCodePro-Medium.otf" type="DynamicFontData" id=1] [resource] -size = 20 +size = 26 use_filter = true font_data = ExtResource( 1 ) diff --git a/project/assets/theme/fonts/font_title.tres b/project/assets/theme/fonts/font_title.tres index f85490d..a1788d3 100644 --- a/project/assets/theme/fonts/font_title.tres +++ b/project/assets/theme/fonts/font_title.tres @@ -2,10 +2,7 @@ [ext_resource path="res://assets/theme/fonts/montserrat/Montserrat-Black.ttf" type="DynamicFontData" id=1] - [resource] - -size = 28 +size = 34 use_filter = true font_data = ExtResource( 1 ) - diff --git a/project/project.godot b/project/project.godot index 72b4632..d8b307e 100644 --- a/project/project.godot +++ b/project/project.godot @@ -203,6 +203,10 @@ config/icon="res://icon.png" window/size/width=1920 window/size/height=1080 window/size/always_on_top=true +window/size/test_width=1280 +window/size/test_height=720 +window/stretch/mode="2d" +window/stretch/aspect="expand" [input]