Your tabbar does not appear to be dynamically resizeable.
The tabbar supports two types of resizing:
a) Auto resize to inner content, configured by
enableAutoSize function;
b) Auto resize to outer container size, configured by enableAutoReSize
function