Replace default editor font to NotoSansUI

This commit is contained in:
volzhs 2017-08-28 00:37:33 +09:00
parent 40a778a709
commit 110da7f816
7 changed files with 125 additions and 14 deletions

View file

@ -85,7 +85,7 @@ void WindowDialog::_notification(int p_what) {
Ref<Font> font = get_font("title_font", "WindowDialog");
int ofs = (s.width - font->get_string_size(title).width) / 2;
//int ofs = st->get_margin(MARGIN_LEFT);
draw_string(font, Point2(ofs, -th + font->get_ascent()), title, tc, s.width - st->get_minimum_size().width);
draw_string(font, Point2(ofs, -th + font->get_ascent() - Math::round(font->get_descent() / 2)), title, tc, s.width - st->get_minimum_size().width);
} break;
case NOTIFICATION_THEME_CHANGED: