You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
Fix build after merge of #37235
It used APIs that were changed after the PR was last rebased.
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "editor_feature_profile.h"
|
#include "editor_feature_profile.h"
|
||||||
|
|
||||||
#include "core/io/json.h"
|
#include "core/io/json.h"
|
||||||
#include "core/os/dir_access.h"
|
#include "core/os/dir_access.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
@@ -869,9 +870,9 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() {
|
|||||||
// Add some spacing above the help label.
|
// Add some spacing above the help label.
|
||||||
Ref<StyleBoxEmpty> sb = memnew(StyleBoxEmpty);
|
Ref<StyleBoxEmpty> sb = memnew(StyleBoxEmpty);
|
||||||
sb->set_default_margin(MARGIN_TOP, 20 * EDSCALE);
|
sb->set_default_margin(MARGIN_TOP, 20 * EDSCALE);
|
||||||
no_profile_selected_help->add_style_override("normal", sb);
|
no_profile_selected_help->add_theme_style_override("normal", sb);
|
||||||
no_profile_selected_help->set_align(Label::ALIGN_CENTER);
|
no_profile_selected_help->set_align(Label::ALIGN_CENTER);
|
||||||
no_profile_selected_help->set_v_size_flags(SIZE_EXPAND_FILL);
|
no_profile_selected_help->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
h_split->add_child(no_profile_selected_help);
|
h_split->add_child(no_profile_selected_help);
|
||||||
|
|
||||||
new_profile_dialog = memnew(ConfirmationDialog);
|
new_profile_dialog = memnew(ConfirmationDialog);
|
||||||
|
|||||||
Reference in New Issue
Block a user