We needed the header of TabSet component to be hidden/shown.
It can help someone =)
This method has no effect:
So after 3 hours of code investigation the solution was found:
call:
It can help someone =)
This method has no effect:
Code:
tabs.setTabBarThickness(1);
Code:
public static native void jsSetTabBarHeight(JavaScriptObject tabSet, int size) /*-{ if(tabSet.getTabBar){ var tb = tabSet.getTabBar(); tb.setHeight(size); } }-*/;
call:
Code:
jsSetTabBarHeight(tabs.getJsObj(), 1);