make it easy to define TabWidget from the CSS