From d16acf2139a85ace80bebc2858e65bb55ab3e4b5 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 23 Apr 2025 15:18:40 -0500 Subject: [PATCH] tweaks --- src/main.rs | 4 ++-- src/ui/presenter.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 47492e5..f580a01 100644 --- a/src/main.rs +++ b/src/main.rs @@ -302,9 +302,9 @@ impl cosmic::Application for App { let presenter_window = self.windows.get(1); let text = if self.presentation_open { - text::body("End Presentation") + text::text("End Presentation") } else { - text::body("Present") + text::text("Present") }; vec![ diff --git a/src/ui/presenter.rs b/src/ui/presenter.rs index d8b1f6a..8526c4e 100644 --- a/src/ui/presenter.rs +++ b/src/ui/presenter.rs @@ -565,7 +565,7 @@ pub(crate) fn slide_view<'a>( Background::Color(Color::BLACK) .scale_alpha(0.4), ) - .padding(3)]) + .padding(1)]) .size(font_size) .font(font) .center()