changes in window properties

unabled maximizeBox and set for max & min Size