Setting a proper minimum width for the settings treewidget according to it's content