From 4a35234abe94b2fd2a3f72160ed3fb048481af8d Mon Sep 17 00:00:00 2001 From: Schmarni Date: Sat, 6 Sep 2025 03:44:44 +0200 Subject: [PATCH] fix(hexagon_launcher/text): fix text alignment and set bounding size to a more reasonable value Signed-off-by: Schmarni --- single/src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/single/src/app.rs b/single/src/app.rs index c76e9c4..0e27674 100644 --- a/single/src/app.rs +++ b/single/src/app.rs @@ -147,10 +147,10 @@ impl Reify for App { Text::new(self.app.name().unwrap_or_default()) .character_height(0.005) .bounds(TextBounds { - bounds: [0.5, 0.5].into(), + bounds: [0.05, 0.05].into(), fit: TextFit::Wrap, anchor_align_x: XAlign::Center, - anchor_align_y: YAlign::Top, + anchor_align_y: YAlign::Center, }) .text_align_x(XAlign::Center) .text_align_y(YAlign::Center)