fix: increase character allowance for window preview title

This commit is contained in:
Ryan Brue 2024-04-01 12:35:48 -05:00 committed by Ashley Wulber
parent a4842f0cf9
commit 63c2bcc99b

View file

@ -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()
};