Make filename clipped on Import dock
(cherry picked from commit 12fb5f58d9
)
This commit is contained in:
parent
77542276f8
commit
97ad6b813a
|
@ -407,6 +407,7 @@ ImportDock::ImportDock() {
|
||||||
set_name("Import");
|
set_name("Import");
|
||||||
imported = memnew(Label);
|
imported = memnew(Label);
|
||||||
imported->add_style_override("normal", EditorNode::get_singleton()->get_gui_base()->get_stylebox("normal", "LineEdit"));
|
imported->add_style_override("normal", EditorNode::get_singleton()->get_gui_base()->get_stylebox("normal", "LineEdit"));
|
||||||
|
imported->set_clip_text(true);
|
||||||
add_child(imported);
|
add_child(imported);
|
||||||
HBoxContainer *hb = memnew(HBoxContainer);
|
HBoxContainer *hb = memnew(HBoxContainer);
|
||||||
add_margin_child(TTR("Import As:"), hb);
|
add_margin_child(TTR("Import As:"), hb);
|
||||||
|
|
Loading…
Reference in New Issue