1604dc02a29c5dd032cf203bf91cca4bfe7b74c0
The previous fix went too far: it activated the panel's own layout before resizing, which lays the heading and the rows out inside the geometry left over from the previous context. The panel then took that stale frame as its answer and collapsed to almost nothing whenever the mode changed. Only the rows layout is activated now -- that part was right, and is what makes freshly added rows visible and so measurable. The size comes from layout()->totalSizeHint(), which says how big the content needs to be without reference to how big the panel currently is; setGeometry re-runs the outer layout afterwards on its own. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHcUerKAZKWNvSKJxYKbnG
Description
No description provided
Languages
C++
96%
CMake
2.2%
Python
1.2%
C
0.6%