Repository: godotengine/godot (language: cpp)

Issue:
Project name warning can make export dialog very big
### Tested versions

4.4 rc1

### System information

W10

### Issue description

When you have Android export preset and your project name has invalid characters (e.g. space), you will be warned that the name will be automatically changed.
The warning however has no auto-wrapping nor trimming, so if your project has a long name, it will make the dialog much bigger. Here's an extreme example:

![Image](https://github.com/user-attachments/assets/0119e989-c918-4d6d-b1f6-a9adbd68b149)

### Steps to reproduce

1. Give a project long name with space
2. Create Android preset (make sure you have SDK configured correctly)
3. You will see a warning that makes dialog bigger

### Minimal reproduction project (MRP)

N/A


Discussion / hints:
I will try to fix this. It's a first for me so please be patient.

Fix patch:
diff --git a/editor/export/project_export.cpp b/editor/export/project_export.cpp
index 5b93a1a17ec7..0982520acd58 100644
--- a/editor/export/project_export.cpp
+++ b/editor/export/project_export.cpp
@@ -1746,11 +1746,13 @@ ProjectExportDialog::ProjectExportDialog() {
 	export_error = memnew(Label);
 	main_vb->add_child(export_error);
 	export_error->hide();
+	export_error->set_text_overrun_behavior(TextServer::OVERRUN_TRIM_WORD_ELLIPSIS);
 	export_error->add_theme_color_override(SceneStringName(font_color), EditorNode::get_singleton()->get_editor_theme()->get_color(SNAME("error_color"), EditorStringName(Editor)));
 
 	export_warning = memnew(Label);
 	main_vb->add_child(export_warning);
 	export_warning->hide();
+	export_warning->set_text_overrun_behavior(TextServer::OVERRUN_TRIM_WORD_ELLIPSIS);
 	export_warning->add_theme_color_override(SceneStringName(font_color), EditorNode::get_singleton()->get_editor_theme()->get_color(SNAME("warning_color"), EditorStringName(Editor)));
 
 	export_templates_error = memnew(HBoxContainer);
@@ -1759,6 +1761,7 @@ ProjectExportDialog::ProjectExportDialog() {
 
 	Label *export_error2 = memnew(Label);
 	export_templates_error->add_child(export_error2);
+	export_error2->set_text_overrun_behavior(TextServer::OVERRUN_TRIM_WORD_ELLIPSIS);
 	export_error2->add_theme_color_override(SceneStringName(font_color), EditorNode::get_singleton()->get_editor_theme()->get_color(SNAME("error_color"), EditorStringName(Editor)));
 	export_error2->set_text(String::utf8("•  ") + TTR("Export templates for this platform are missing:") + " ");
 


Test patch: