Avoid flicker in flexible width agent panel's size when resizing workspace (#52519)

This improves the rendering of flexible-width panels so that they do not
lag behind by one frame when tracking workspace size changes. I've also
simplified the code for panel size management in the workspace.

Release Notes:

- N/A
086bece3f1Max Brunsfeld committed on 3/26/2026, 8:18:39 PM· committed by GitHubparentcd05f19
2 files changedLine totals unavailable