From 12fb5f58d9e0913c12358ccfb410f3e4b0128198 Mon Sep 17 00:00:00 2001 From: volzhs Date: Tue, 22 May 2018 16:56:16 +0900 Subject: [PATCH] Make filename clipped on Import dock --- editor/import_dock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp index 128196be5a1..f91802b3525 100644 --- a/editor/import_dock.cpp +++ b/editor/import_dock.cpp @@ -407,6 +407,7 @@ ImportDock::ImportDock() { set_name("Import"); imported = memnew(Label); imported->add_style_override("normal", EditorNode::get_singleton()->get_gui_base()->get_stylebox("normal", "LineEdit")); + imported->set_clip_text(true); add_child(imported); HBoxContainer *hb = memnew(HBoxContainer); add_margin_child(TTR("Import As:"), hb);