From fd2f7564212cab906b701bbb384e3cafbb2601e4 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 27 Jan 2024 18:58:01 -0500 Subject: Fix area popups not shrinking --- src/area_popup.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/area_popup.cpp') diff --git a/src/area_popup.cpp b/src/area_popup.cpp index 8f694bb..9c97d78 100644 --- a/src/area_popup.cpp +++ b/src/area_popup.cpp @@ -64,6 +64,7 @@ void AreaPopup::UpdateIndicators() { int item_width = col_width + 10 + 32; int full_width = std::max(header_extent.GetWidth(), item_width) + 20; + Fit(); SetVirtualSize(full_width, acc_height); rendered_ = wxBitmap(full_width, acc_height); -- cgit 1.4.1