Add a setting hint for the Output panel font size

This closes #21237.

(cherry picked from commit 07e87f6ec0)
This commit is contained in:
Hugo Locurcio 2019-02-08 19:34:43 +01:00 committed by Rémi Verschelde
parent d127f92bd5
commit 41cda84b11
1 changed files with 3 additions and 0 deletions

View File

@ -511,6 +511,9 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
_initial_set("filesystem/import/pvrtc_fast_conversion", false);
_initial_set("run/auto_save/save_before_running", true);
// Output
hints["run/output/font_size"] = PropertyInfo(Variant::INT, "run/output/font_size", PROPERTY_HINT_RANGE, "8,96,1", PROPERTY_USAGE_DEFAULT);
_initial_set("run/output/always_clear_output_on_play", true);
_initial_set("run/output/always_open_output_on_play", true);
_initial_set("run/output/always_close_output_on_stop", false);