mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 05:37:04 +00:00
rd-dialogs-w11: red round 1 fix (lead commit; see the track report)
This commit is contained in:
@@ -123,6 +123,7 @@ fn detail(ui: &mut Ui, now: f64, env: &mut Env<'_>, state: &mut DialogState) {
|
||||
.id_salt("keys")
|
||||
.select(SelectMode::Single)
|
||||
.sizing(Sizing::Content)
|
||||
.natural_height(true)
|
||||
.selection(Bind::bound(&mut selection))
|
||||
.empty(words.none.clone())
|
||||
.show_items(ui, &Titles(&texts), &mut |key, _| ListRow::new(texts[*key].clone()));
|
||||
|
||||
Reference in New Issue
Block a user