Browse Source

use bigger dialog font

Arnaud Vergnet 2 years ago
parent
commit
0a4ef3f4fb

+ 2
- 0
dialogic/themes/theme-1616657657.cfg View File

@@ -21,6 +21,7 @@ size=Vector2( 1800, 200 )
21 21
 margin=Vector2( 40, 20 )
22 22
 alignment="Left"
23 23
 shadow=false
24
+font="res://fonts/DialogFont.tres"
24 25
 
25 26
 [definitions]
26 27
 
@@ -33,3 +34,4 @@ image_visible=true
33 34
 auto_color=true
34 35
 shadow_visible=true
35 36
 modulation=false
37
+bottom_gap=70.0

+ 2
- 0
dialogic/themes/theme-1618913551.cfg View File

@@ -21,6 +21,7 @@ size=Vector2( 1800, 200 )
21 21
 margin=Vector2( 40, 20 )
22 22
 alignment="Left"
23 23
 shadow=false
24
+font="res://fonts/DialogFont.tres"
24 25
 
25 26
 [definitions]
26 27
 
@@ -32,3 +33,4 @@ image_visible=true
32 33
 auto_color=true
33 34
 shadow_visible=true
34 35
 modulation=false
36
+bottom_gap=70.0

+ 7
- 0
fonts/DialogFont.tres View File

@@ -0,0 +1,7 @@
1
+[gd_resource type="DynamicFont" load_steps=2 format=2]
2
+
3
+[ext_resource path="res://fonts/open-sans/OpenSans-Bold.ttf" type="DynamicFontData" id=1]
4
+
5
+[resource]
6
+size = 40
7
+font_data = ExtResource( 1 )

+ 6
- 6
scenes/MainMenu.tscn View File

@@ -88,14 +88,14 @@ __meta__ = {
88 88
 [node name="CenterContainer" type="CenterContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer"]
89 89
 margin_left = 20.0
90 90
 margin_top = 20.0
91
-margin_right = 330.0
92
-margin_bottom = 480.0
91
+margin_right = 397.0
92
+margin_bottom = 496.0
93 93
 
94 94
 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer"]
95
-margin_left = 37.0
96
-margin_top = 46.0
97
-margin_right = 272.0
98
-margin_bottom = 414.0
95
+margin_left = 71.0
96
+margin_top = 54.0
97
+margin_right = 306.0
98
+margin_bottom = 422.0
99 99
 custom_constants/separation = 20
100 100
 __meta__ = {
101 101
 "_edit_use_anchors_": false

Loading…
Cancel
Save