use SetSizerAndFit instead of Fit in window initialization