widget/tab: add tab_width/height setting

clean code in demo_tab.c