@shengfa.zhang try to call on tabBar().adjustSize() each time, when drugging is over... I had the same problem...