fix the bug that custom view does not expand fully & remove MaxTabWidth to do so