The sketch palette windows know has the function to modify the width of the window itself. but this functionality doesn't improve the arrangement of the icons or take less space from the working space (making the width bigger, the hight is less). I suggest to have a width and length fixed window, so it doesn't disturb in the designing process.
Thanks