/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SResponsiveGridPanel.h
The system calls this method. It performs a breadth-first traversal of every visible widget and asks each widget to cache how big it needs to be in order to present all of its content.
virtual void CacheDesiredSize ( float InLayoutScaleMultiplier )