From c882ad514230293ddd5b95f90f187a3b98c13099 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Tue, 17 Jun 2025 19:04:34 +0100 Subject: [PATCH] Fix: Allow object picker to resize if there are no classes. (#14372) --- src/object_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/object_gui.cpp b/src/object_gui.cpp index 502d8891e6..dc80fbc8c6 100644 --- a/src/object_gui.cpp +++ b/src/object_gui.cpp @@ -187,6 +187,8 @@ public: case WID_BO_INFO: size.height = this->info_height; + fill.height = this->has_class_picker ? 0 : 1; + resize.height = this->has_class_picker ? 0 : 1; break; default: