summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2019-12-18 16:16:22 +0900
committervolzhs <volzhs@gmail.com>2019-12-18 16:16:22 +0900
commit7dff2a9167139937eadefa2f2244e5293d8d0a31 (patch)
treeb7c0e16ccd69608c81c6d65be7dec26a4c15acc0 /editor
parent7d34d1a85f95edd1b29b8eb24cda49b355db2c3d (diff)
Make right align for calls number in Profiler
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_profiler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_profiler.cpp b/editor/editor_profiler.cpp
index 020cb3bada..c88fb4f937 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;