Fixed #938: closing the last tab will layout immediately
Merge pull request #1020 from dinhviethoa/391-tab-view

Fixed #938: closing the last tab will layout immediately