Linux: when using wxAUI notebook, place the text a bit higher
Calculate the active tab width more accurately