Update tabwidget.py

This commit is contained in:
Marius 2017-06-21 09:03:15 +02:00 committed by GitHub
parent f3a2b84033
commit df6b8b7ff5

View File

@ -764,7 +764,7 @@ class TabBarStyle(QCommonStyle):
# We need this so the left scroll button is aligned properly. # We need this so the left scroll button is aligned properly.
# Otherwise, empty space will be shown after the last tab even # Otherwise, empty space will be shown after the last tab even
# though the button width is set to 0 # though the button width is set to 0
#
# In older PyQt-versions (5.2.1) QStyle does not have this # In older PyQt-versions (5.2.1) QStyle does not have this
# attribute. # attribute.
if sr == QStyle.SE_TabBarScrollLeftButton: if sr == QStyle.SE_TabBarScrollLeftButton: