From 63c2bcc99b1b941dc4f4280fddbc6a17c3d82ee9 Mon Sep 17 00:00:00 2001 From: Ryan Brue Date: Mon, 1 Apr 2024 12:35:48 -0500 Subject: [PATCH] fix: increase character allowance for window preview title --- cosmic-app-list/src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cosmic-app-list/src/app.rs b/cosmic-app-list/src/app.rs index 0281e04d..4f56cc0d 100755 --- a/cosmic-app-list/src/app.rs +++ b/cosmic-app-list/src/app.rs @@ -1380,8 +1380,8 @@ impl cosmic::Application for CosmicAppList { .align_items(Alignment::Center) .spacing(12); for (handle, info, img) in toplevels { - let title = if info.title.len() > 18 { - format!("{:.15}...", &info.title) + let title = if info.title.len() > 26 { + format!("{:.23}...", &info.title) } else { info.title.clone() };