aboutsummaryrefslogtreecommitdiff
path: root/editor/project_export.cpp
diff options
context:
space:
mode:
authorGilles Roudiere2017-09-22 00:12:33 +0200
committerGilles Roudiere2017-09-22 11:39:44 +0200
commit05bb8e0c106686f2ed5a9aad0f76ecc64fa5faa0 (patch)
tree8ab5d7e6651f48d1a19a7f7d7586c8bcce43628d /editor/project_export.cpp
parent92f062696adc5efee2355259f42f5462ec42a605 (diff)
downloadgodot-05bb8e0c106686f2ed5a9aad0f76ecc64fa5faa0.tar.gz
godot-05bb8e0c106686f2ed5a9aad0f76ecc64fa5faa0.tar.zst
godot-05bb8e0c106686f2ed5a9aad0f76ecc64fa5faa0.zip
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
Diffstat (limited to 'editor/project_export.cpp')
-rw-r--r--editor/project_export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp
index c3b50657f..506619a2a 100644
--- a/editor/project_export.cpp
+++ b/editor/project_export.cpp
@@ -894,7 +894,7 @@ ProjectExportDialog::ProjectExportDialog() {
Panel *features_panel = memnew(Panel);
custom_feature_display = memnew(RichTextLabel);
features_panel->add_child(custom_feature_display);
- custom_feature_display->set_area_as_parent_rect(10 * EDSCALE);
+ custom_feature_display->set_anchors_and_margins_preset(Control::PRESET_WIDE, Control::PRESET_MODE_MINSIZE, 10 * EDSCALE);
custom_feature_display->set_v_size_flags(SIZE_EXPAND_FILL);
feature_vb->add_margin_child(TTR("Feature List:"), features_panel, true);
sections->add_child(feature_vb);