font-manager: the alternates popup's grid takes its natural height, so it never shares the popover's scroll

This commit is contained in:
bflatastic
2026-11-22 19:16:57 +07:00
parent 1f2850aada
commit 8527eab467
+1
View File
@@ -633,6 +633,7 @@ impl<'a> GlyphsPanel<'a> {
.select(SelectMode::Single)
.activate(ActivateOn::Click)
.card_columns(popup.cells.len().min(ALTERNATE_COLUMNS))
.natural_height(true)
.show_items(ui, &Cells(&popup.cells), &mut |key, _| {
let alternate = popup.cells[*key];
let info = source.describe(face.0, face.1, alternate);