Update tabwidget.py
This commit is contained in:
parent
f3a2b84033
commit
df6b8b7ff5
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user