From 97ad6b813a79b67fc3e413739cdb8e09dc312aba 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 (cherry picked from commit 12fb5f58d9e0913c12358ccfb410f3e4b0128198) --- editor/import_dock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp index ce2a4ec6d8b..315da8423a7 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);