I came across the TGPack, which I think is great. I save and restore the splitter positions when my application stops and starts, using AddFrameWithWeight(). (The values come from the TGFrameElementPack.)
I’ve been trying to programmatically set the splitter positions, but I haven’t been able to get it right. For example, one command button would set all the splitters in certain positions to resize their contents, and another button would set the splitters to different positions.
How can I dynamically repositions all the splitters and resize their contents?
Eventually we can add this functionality to TGPack but this can only come after 5.28 is out. Which means next year, and it will not be in 5.28 release.