|
@@ -320,19 +320,19 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
|
_initial_set("interface/editor/custom_display_scale", 1.0f);
|
|
_initial_set("interface/editor/custom_display_scale", 1.0f);
|
|
hints["interface/editor/custom_display_scale"] = PropertyInfo(Variant::REAL, "interface/editor/custom_display_scale", PROPERTY_HINT_RANGE, "0.5,3,0.01", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_RESTART_IF_CHANGED);
|
|
hints["interface/editor/custom_display_scale"] = PropertyInfo(Variant::REAL, "interface/editor/custom_display_scale", PROPERTY_HINT_RANGE, "0.5,3,0.01", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_RESTART_IF_CHANGED);
|
|
_initial_set("interface/editor/main_font_size", 14);
|
|
_initial_set("interface/editor/main_font_size", 14);
|
|
- hints["interface/editor/main_font_size"] = PropertyInfo(Variant::INT, "interface/editor/main_font_size", PROPERTY_HINT_RANGE, "10,40,1", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_RESTART_IF_CHANGED);
|
|
|
|
- _initial_set("interface/editor/code_font_size", 14);
|
|
|
|
- hints["interface/editor/code_font_size"] = PropertyInfo(Variant::INT, "interface/editor/code_font_size", PROPERTY_HINT_RANGE, "8,96,1", PROPERTY_USAGE_DEFAULT);
|
|
|
|
|
|
+ hints["interface/editor/main_font_size"] = PropertyInfo(Variant::INT, "interface/editor/main_font_size", PROPERTY_HINT_RANGE, "8,48,1", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_RESTART_IF_CHANGED);
|
|
_initial_set("interface/editor/main_font_antialiased", true);
|
|
_initial_set("interface/editor/main_font_antialiased", true);
|
|
- _initial_set("interface/editor/code_font_antialiased", true);
|
|
|
|
_initial_set("interface/editor/main_font_hinting", 2);
|
|
_initial_set("interface/editor/main_font_hinting", 2);
|
|
hints["interface/editor/main_font_hinting"] = PropertyInfo(Variant::INT, "interface/editor/main_font_hinting", PROPERTY_HINT_ENUM, "None,Light,Normal", PROPERTY_USAGE_DEFAULT);
|
|
hints["interface/editor/main_font_hinting"] = PropertyInfo(Variant::INT, "interface/editor/main_font_hinting", PROPERTY_HINT_ENUM, "None,Light,Normal", PROPERTY_USAGE_DEFAULT);
|
|
- _initial_set("interface/editor/code_font_hinting", 2);
|
|
|
|
- hints["interface/editor/code_font_hinting"] = PropertyInfo(Variant::INT, "interface/editor/code_font_hinting", PROPERTY_HINT_ENUM, "None,Light,Normal", PROPERTY_USAGE_DEFAULT);
|
|
|
|
_initial_set("interface/editor/main_font", "");
|
|
_initial_set("interface/editor/main_font", "");
|
|
hints["interface/editor/main_font"] = PropertyInfo(Variant::STRING, "interface/editor/main_font", PROPERTY_HINT_GLOBAL_FILE, "*.ttf,*.otf", PROPERTY_USAGE_DEFAULT);
|
|
hints["interface/editor/main_font"] = PropertyInfo(Variant::STRING, "interface/editor/main_font", PROPERTY_HINT_GLOBAL_FILE, "*.ttf,*.otf", PROPERTY_USAGE_DEFAULT);
|
|
_initial_set("interface/editor/main_font_bold", "");
|
|
_initial_set("interface/editor/main_font_bold", "");
|
|
hints["interface/editor/main_font_bold"] = PropertyInfo(Variant::STRING, "interface/editor/main_font_bold", PROPERTY_HINT_GLOBAL_FILE, "*.ttf,*.otf", PROPERTY_USAGE_DEFAULT);
|
|
hints["interface/editor/main_font_bold"] = PropertyInfo(Variant::STRING, "interface/editor/main_font_bold", PROPERTY_HINT_GLOBAL_FILE, "*.ttf,*.otf", PROPERTY_USAGE_DEFAULT);
|
|
|
|
+ _initial_set("interface/editor/code_font_size", 14);
|
|
|
|
+ hints["interface/editor/code_font_size"] = PropertyInfo(Variant::INT, "interface/editor/code_font_size", PROPERTY_HINT_RANGE, "8,48,1", PROPERTY_USAGE_DEFAULT);
|
|
|
|
+ _initial_set("interface/editor/code_font_antialiased", true);
|
|
|
|
+ _initial_set("interface/editor/code_font_hinting", 2);
|
|
|
|
+ hints["interface/editor/code_font_hinting"] = PropertyInfo(Variant::INT, "interface/editor/code_font_hinting", PROPERTY_HINT_ENUM, "None,Light,Normal", PROPERTY_USAGE_DEFAULT);
|
|
_initial_set("interface/editor/code_font", "");
|
|
_initial_set("interface/editor/code_font", "");
|
|
hints["interface/editor/code_font"] = PropertyInfo(Variant::STRING, "interface/editor/code_font", PROPERTY_HINT_GLOBAL_FILE, "*.ttf,*.otf", PROPERTY_USAGE_DEFAULT);
|
|
hints["interface/editor/code_font"] = PropertyInfo(Variant::STRING, "interface/editor/code_font", PROPERTY_HINT_GLOBAL_FILE, "*.ttf,*.otf", PROPERTY_USAGE_DEFAULT);
|
|
_initial_set("interface/editor/dim_editor_on_dialog_popup", true);
|
|
_initial_set("interface/editor/dim_editor_on_dialog_popup", true);
|
|
@@ -491,8 +491,12 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
|
|
|
|
|
// Help
|
|
// Help
|
|
_initial_set("text_editor/help/show_help_index", true);
|
|
_initial_set("text_editor/help/show_help_index", true);
|
|
- _initial_set("text_editor/help_source_font_size", 14);
|
|
|
|
- hints["text_editor/help/help_source_font_size"] = PropertyInfo(Variant::REAL, "text_editor/help/help_source_font_size", PROPERTY_HINT_RANGE, "10, 50, 1");
|
|
|
|
|
|
+ _initial_set("text_editor/help/help_font_size", 15);
|
|
|
|
+ hints["text_editor/help/help_font_size"] = PropertyInfo(Variant::INT, "text_editor/help/help_font_size", PROPERTY_HINT_RANGE, "8,48,1");
|
|
|
|
+ _initial_set("text_editor/help/help_source_font_size", 14);
|
|
|
|
+ hints["text_editor/help/help_source_font_size"] = PropertyInfo(Variant::INT, "text_editor/help/help_source_font_size", PROPERTY_HINT_RANGE, "8,48,1");
|
|
|
|
+ _initial_set("text_editor/help/help_title_font_size", 23);
|
|
|
|
+ hints["text_editor/help/help_title_font_size"] = PropertyInfo(Variant::INT, "text_editor/help/help_title_font_size", PROPERTY_HINT_RANGE, "8,48,1");
|
|
|
|
|
|
/* Editors */
|
|
/* Editors */
|
|
|
|
|
|
@@ -600,7 +604,8 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
|
_initial_set("run/auto_save/save_before_running", true);
|
|
_initial_set("run/auto_save/save_before_running", true);
|
|
|
|
|
|
// Output
|
|
// 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/font_size", 13);
|
|
|
|
+ hints["run/output/font_size"] = PropertyInfo(Variant::INT, "run/output/font_size", PROPERTY_HINT_RANGE, "8,48,1");
|
|
_initial_set("run/output/always_clear_output_on_play", true);
|
|
_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_open_output_on_play", true);
|
|
_initial_set("run/output/always_close_output_on_stop", false);
|
|
_initial_set("run/output/always_close_output_on_stop", false);
|