add size boundaries for dock settings window
--improve the new added code for user set settings window size by specific boundaries in which it can be set and not exit them
CCBUG: 397038