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 minval: -1
maxval: maxint maxval: maxint
desc: >- 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. This setting only applies when tabs are horizontal.

View File

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