fix(fonts): keep missing font names clear of the list's scrollbar

The missing-fonts list is as wide as its longest name, so its scrollbar
was drawn over the end of every name ("ROMANT.sh").

Fixes #1715

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-12 01:17:20 +03:00
1 parent 551d4c1c60
commit cd07141cde
1 file changed
+9 -1
+9 -1
View File
@@ -63,7 +63,15 @@ pub fn view_window<'a>(
))
.size(11)
.style(muted_style),
container(scrollable(column(listed).spacing(2)).height(content_height))
// The right padding keeps the names clear of the scrollbar, which
// a list as wide as its longest name would otherwise draw over.
container(
scrollable(column(listed).spacing(2).padding(iced::Padding {
right: 14.0,
..iced::Padding::ZERO
}))
.height(content_height),
)
.padding([10, 12])
.width(content_width)
.height(content_height)