Set tw locally for layout of tab group window.