Add support for usage of percentages in `tabWidth`

I would like to use percentages for the Tabs width. I though it was possible, but got NaN errors, so added it to the widget.