From d464dd88d3494540e02da37aea3489a2e7f1b1a4 Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Wed, 4 Feb 2026 18:24:01 +0100 Subject: [PATCH] b UI fix ui table size not resizing well --- UI/ui_table.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/UI/ui_table.cpp b/UI/ui_table.cpp index 1b644a3..d78cc05 100644 --- a/UI/ui_table.cpp +++ b/UI/ui_table.cpp @@ -11,7 +11,9 @@ UI_table::UI_table(size_t row_count, size_t column_count, std::vector m_table.capacity()) + if (capacity() > m_table.size()) { m_table.resize(capacity()); }