mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 02:09:00 +00:00
font-manager: the alternates popup's grid takes its natural height, so it never shares the popover's scroll
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user