Frame min size to fit all controls?

Hi friends,

How to set frame min size to fit all child controls of this frame?

Thanks!