summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-12 16:00:49 +0100
committerGitHub <noreply@github.com>2018-12-12 16:00:49 +0100
commit31349eec8e6ebf725c93b22abc3b98c03433b425 (patch)
tree6648dcc4315d610c26f7138d9848a97b334af678
parent4cb6b80090d60b11522e3af5e3732ab0b1336d72 (diff)
parent99f9af868a6994ddf6622172ec98961fdd37988e (diff)
Merge pull request #24203 from qichunren/fix_export_dialog_layout
Fix ExportDialog layout out of boundary when select a template.
-rw-r--r--editor/project_export.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp
index 557aac021d..f82133e0d3 100644
--- a/editor/project_export.cpp
+++ b/editor/project_export.cpp
@@ -298,6 +298,7 @@ void ProjectExportDialog::_edit_preset(int p_index) {
custom_features->set_text(current->get_custom_features());
_update_feature_list();
_update_export_all();
+ minimum_size_changed();
updating = false;
}
@@ -1173,6 +1174,7 @@ ProjectExportDialog::ProjectExportDialog() {
export_pck_zip->connect("file_selected", this, "_export_pck_zip_selected");
export_error = memnew(Label);
+ export_error->set_autowrap(true);
main_vb->add_child(export_error);
export_error->hide();
export_error->add_color_override("font_color", EditorNode::get_singleton()->get_gui_base()->get_color("error_color", "Editor"));