Increase the source font's line spacing

This also increases line spacing in license texts in the editor's
About dialog.
This commit is contained in:
Hugo Locurcio
2018-10-14 21:38:35 +02:00
parent b95f0e61e0
commit 976b3e3284
4 changed files with 5 additions and 3 deletions

View File

@@ -47,7 +47,9 @@ void EditorAbout::_notification(int p_what) {
Control *base = EditorNode::get_singleton()->get_gui_base();
Ref<Font> font = base->get_font("source", "EditorFonts");
_tpl_text->add_font_override("normal_font", font);
_tpl_text->add_constant_override("line_separation", 6 * EDSCALE);
_license_text->add_font_override("normal_font", font);
_license_text->add_constant_override("line_separation", 6 * EDSCALE);
_logo->set_texture(base->get_icon("Logo", "EditorIcons"));
} break;
}