From afe204c04658abefe6223cbc01b7e5780d8c2089 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Sun, 7 Jul 2024 20:50:16 +0300 Subject: [PATCH] fix: title panel padding --- src/gui/views/title_panel.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/views/title_panel.rs b/src/gui/views/title_panel.rs index c5bb997..8d8e930 100644 --- a/src/gui/views/title_panel.rs +++ b/src/gui/views/title_panel.rs @@ -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) } }