add weight to tab pane