Settings panel : When changing tab, resize the panel to the size of the
tab.