Set min hint of tool bar button before calling part_content_set

part_content_set internallyl referenced min hint so early setting min hint
looks better.