setted minimum and maximum size of tool window