Add minimum size to some debugger elements
This commit is contained in:
parent
ec6a1c0e79
commit
5769c80196
4 changed files with 10 additions and 0 deletions
|
|
@ -715,6 +715,7 @@ EditorProfiler::EditorProfiler() {
|
|||
variables->connect("item_edited", callable_mp(this, &EditorProfiler::_item_edited));
|
||||
|
||||
graph = memnew(TextureRect);
|
||||
graph->set_custom_minimum_size(Size2(250 * EDSCALE, 0));
|
||||
graph->set_expand_mode(TextureRect::EXPAND_IGNORE_SIZE);
|
||||
graph->set_mouse_filter(MOUSE_FILTER_STOP);
|
||||
graph->connect(SceneStringName(draw), callable_mp(this, &EditorProfiler::_graph_tex_draw));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue