Fix ExportDialog layout out of boundary when select a template.
This commit is contained in:
parent
ce3f3a9f82
commit
99f9af868a
1 changed files with 2 additions and 0 deletions
|
@ -298,6 +298,7 @@ void ProjectExportDialog::_edit_preset(int p_index) {
|
||||||
custom_features->set_text(current->get_custom_features());
|
custom_features->set_text(current->get_custom_features());
|
||||||
_update_feature_list();
|
_update_feature_list();
|
||||||
_update_export_all();
|
_update_export_all();
|
||||||
|
minimum_size_changed();
|
||||||
|
|
||||||
updating = false;
|
updating = false;
|
||||||
}
|
}
|
||||||
|
@ -1173,6 +1174,7 @@ ProjectExportDialog::ProjectExportDialog() {
|
||||||
export_pck_zip->connect("file_selected", this, "_export_pck_zip_selected");
|
export_pck_zip->connect("file_selected", this, "_export_pck_zip_selected");
|
||||||
|
|
||||||
export_error = memnew(Label);
|
export_error = memnew(Label);
|
||||||
|
export_error->set_autowrap(true);
|
||||||
main_vb->add_child(export_error);
|
main_vb->add_child(export_error);
|
||||||
export_error->hide();
|
export_error->hide();
|
||||||
export_error->add_color_override("font_color", EditorNode::get_singleton()->get_gui_base()->get_color("error_color", "Editor"));
|
export_error->add_color_override("font_color", EditorNode::get_singleton()->get_gui_base()->get_color("error_color", "Editor"));
|
||||||
|
|
Loading…
Reference in a new issue