diff options
author | Nathan Franke <natfra@pm.me> | 2021-11-24 20:58:47 -0600 |
---|---|---|
committer | Nathan Franke <natfra@pm.me> | 2021-12-09 01:38:46 -0600 |
commit | 41a20171eb81a7850dd96ec31da4b40c619538a2 (patch) | |
tree | 64df686faeeca6068ba43167bf07fe8b3823e417 /editor/debugger/editor_profiler.cpp | |
parent | f1e3c87244f18ab1a507b6e3637c34b2d49c1dc6 (diff) |
align to horizontal_alignment, valign to vertical_alignment, related
Diffstat (limited to 'editor/debugger/editor_profiler.cpp')
-rw-r--r-- | editor/debugger/editor_profiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/debugger/editor_profiler.cpp b/editor/debugger/editor_profiler.cpp index d08ae1de8a..2bdacb51b8 100644 --- a/editor/debugger/editor_profiler.cpp +++ b/editor/debugger/editor_profiler.cpp @@ -355,7 +355,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_text_alignment(2, HORIZONTAL_ALIGNMENT_RIGHT); item->set_tooltip(0, it.name + "\n" + it.script + ":" + itos(it.line)); float time = dtime == DISPLAY_SELF_TIME ? it.self : it.total; |