WindowSetSizerAndFit window sizer The same as SetSizer, except it also sets the size hints for the window based on the sizer's minimum size.