modal: fix min width

This commit is contained in:
ardocrat 2024-04-24 01:09:27 +03:00
parent df4500fac6
commit 92e1da511d

View file

@ -180,6 +180,7 @@ impl Modal {
.title_bar(false) .title_bar(false)
.resizable(false) .resizable(false)
.collapsible(false) .collapsible(false)
.min_width(width)
.default_width(width) .default_width(width)
.anchor(content_align, content_offset) .anchor(content_align, content_offset)
.frame(egui::Frame { .frame(egui::Frame {