diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-05 08:03:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 08:03:07 +0200 |
commit | 924cecf0b0a90d8cc3c086361d8794f22cc59ef0 (patch) | |
tree | a9cfaa73e48c2511913f37e8bc60cf392f406f5c | |
parent | 321ce4d4c46a998baa26e8e562775b7e28030339 (diff) | |
parent | a1a096eb09d8f8c9ecf2492f4d9725d170d1b237 (diff) |
Merge pull request #37599 from YeldhamDev/export_feat_panel_remove
Remove unnecessary Panel in "Features" section in the Export dialog
-rw-r--r-- | editor/project_export.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp index b30cd89c96..04ec5ae043 100644 --- a/editor/project_export.cpp +++ b/editor/project_export.cpp @@ -1205,12 +1205,9 @@ ProjectExportDialog::ProjectExportDialog() { custom_features = memnew(LineEdit); custom_features->connect("text_changed", callable_mp(this, &ProjectExportDialog::_custom_features_changed)); feature_vb->add_margin_child(TTR("Custom (comma-separated):"), custom_features); - Panel *features_panel = memnew(Panel); custom_feature_display = memnew(RichTextLabel); - features_panel->add_child(custom_feature_display); - custom_feature_display->set_anchors_and_margins_preset(Control::PRESET_WIDE, Control::PRESET_MODE_MINSIZE, 10 * EDSCALE); custom_feature_display->set_v_size_flags(Control::SIZE_EXPAND_FILL); - feature_vb->add_margin_child(TTR("Feature List:"), features_panel, true); + feature_vb->add_margin_child(TTR("Feature List:"), custom_feature_display, true); sections->add_child(feature_vb); // Script export parameters. |