fixed bug

1.add widget type:
<enum name="tab" value="3" />
<enum name="center" value="4" />
2.optimize demo ui