From b46b77f3a7a162a0ea625fa156ea4d7df4e9d062 Mon Sep 17 00:00:00 2001 From: Konstantinos Date: Tue, 25 Aug 2026 00:13:24 +0300 Subject: [PATCH] Align center for text on items in grid view. fixes #754 --- src/tab.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tab.rs b/src/tab.rs index 60d9bf2..79a5091 100644 --- a/src/tab.rs +++ b/src/tab.rs @@ -2355,6 +2355,7 @@ impl Item { ) -> widget::Text<'a, cosmic::Theme, cosmic::Renderer> { widget::text::body(name) .wrapping(text::Wrapping::WordOrGlyph) + .align_x(text::Alignment::Center) .ellipsize(text::Ellipsize::Middle(text::EllipsizeHeightLimit::Lines( 3, )))