fix: title panel padding

This commit is contained in:
ardocrat 2024-07-07 20:50:16 +03:00
parent 0c4d6ea01b
commit afe204c046

View file

@ -114,9 +114,9 @@ impl TitlePanel {
View::ellipsize_text(ui, text, 19.0, Colors::title(true));
}
TitleContentType::WithSubTitle(text, subtitle, animate) => {
ui.add_space(3.0);
ui.add_space(4.0);
View::ellipsize_text(ui, text, 18.0, Colors::title(true));
ui.add_space(-1.0);
ui.add_space(-2.0);
View::animate_text(ui, subtitle, 15.0, Colors::text(true), animate)
}
}