about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-01-27 18:58:01 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-01-27 18:58:01 -0500
commitfd2f7564212cab906b701bbb384e3cafbb2601e4 (patch)
tree4153a05387ced3ac349b9a74096c59b70531f181
parentb5326100460c69788514c4a09a05ee6f5ee3eefb (diff)
downloadlingo-ap-tracker-fd2f7564212cab906b701bbb384e3cafbb2601e4.tar.gz
lingo-ap-tracker-fd2f7564212cab906b701bbb384e3cafbb2601e4.tar.bz2
lingo-ap-tracker-fd2f7564212cab906b701bbb384e3cafbb2601e4.zip
Fix area popups not shrinking
-rw-r--r--src/area_popup.cpp1
1 files changed, 1 insertions, 0 deletions
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() {
64 int item_width = col_width + 10 + 32; 64 int item_width = col_width + 10 + 32;
65 int full_width = std::max(header_extent.GetWidth(), item_width) + 20; 65 int full_width = std::max(header_extent.GetWidth(), item_width) + 20;
66 66
67 Fit();
67 SetVirtualSize(full_width, acc_height); 68 SetVirtualSize(full_width, acc_height);
68 69
69 rendered_ = wxBitmap(full_width, acc_height); 70 rendered_ = wxBitmap(full_width, acc_height);