Improve wording of documentation

This commit is contained in:
Jay Kamat 2018-03-13 22:25:15 -04:00
parent 996561b50e
commit 7278b7c2e5
No known key found for this signature in database
GPG Key ID: 5D2E399600F4F7B5
2 changed files with 3 additions and 3 deletions

View File

@ -1413,7 +1413,7 @@ tabs.min_width:
minval: -1
maxval: maxint
desc: >-
Minimum width (in pixels) of tabs (-1 to use min text contents size for min width).
Minimum width (in pixels) of tabs (-1 for the default minimum size behavior).
This setting only applies when tabs are horizontal.

View File

@ -479,8 +479,8 @@ class TabBar(QTabBar):
Args:
index: The index of the tab to get a size hint for.
ellipsis: Whether to use ellipsis to calculate width
instead of the tab's text.
Forced to false for pinned tabs.
instead of the tab's text.
Forced to False for pinned tabs.
Return:
A QSize of the smallest tab size we can make.
"""