[Scene] Add SceneStringNames::font(_size/_color)
This commit is contained in:
parent
b435551682
commit
d519715d94
77 changed files with 453 additions and 446 deletions
|
|
@ -113,8 +113,8 @@ void EditorPerformanceProfiler::_monitor_draw() {
|
|||
info_message->hide();
|
||||
|
||||
Ref<StyleBox> graph_style_box = get_theme_stylebox(CoreStringName(normal), SNAME("TextEdit"));
|
||||
Ref<Font> graph_font = get_theme_font(SNAME("font"), SNAME("TextEdit"));
|
||||
int font_size = get_theme_font_size(SNAME("font_size"), SNAME("TextEdit"));
|
||||
Ref<Font> graph_font = get_theme_font(SceneStringName(font), SNAME("TextEdit"));
|
||||
int font_size = get_theme_font_size(SceneStringName(font_size), SNAME("TextEdit"));
|
||||
|
||||
int columns = int(Math::ceil(Math::sqrt(float(active.size()))));
|
||||
int rows = int(Math::ceil(float(active.size()) / float(columns)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue