From 92e1da511d455b088940e2d775451add5fafeb96 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Wed, 24 Apr 2024 01:09:27 +0300 Subject: [PATCH] modal: fix min width --- src/gui/views/modal.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/views/modal.rs b/src/gui/views/modal.rs index cb1d0a2..d83d80f 100644 --- a/src/gui/views/modal.rs +++ b/src/gui/views/modal.rs @@ -180,6 +180,7 @@ impl Modal { .title_bar(false) .resizable(false) .collapsible(false) + .min_width(width) .default_width(width) .anchor(content_align, content_offset) .frame(egui::Frame {