set init window size if GUI