From f9c608cc08dfebb25b18b44aeff3961ec4c68b19 Mon Sep 17 00:00:00 2001 From: volzhs Date: Wed, 18 Dec 2019 16:16:22 +0900 Subject: [PATCH] Make right align for calls number in Profiler --- editor/editor_profiler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_profiler.cpp b/editor/editor_profiler.cpp index 020cb3bada0d..c88fb4f937f0 100644 --- a/editor/editor_profiler.cpp +++ b/editor/editor_profiler.cpp @@ -397,6 +397,7 @@ void EditorProfiler::_update_frame() { item->set_metadata(0, it.signature); item->set_metadata(1, it.script); item->set_metadata(2, it.line); + item->set_text_align(2, TreeItem::ALIGN_RIGHT); item->set_tooltip(0, it.script + ":" + itos(it.line)); float time = dtime == DISPLAY_SELF_TIME ? it.self : it.total;