Fix bug DNN-3964: need resize the tool buttons when activate a tab.