CCWPF/MainWindow set adaptive size by 1st start