Take into account various toolbar styles