Give completion items a bit more space
This commit is contained in:
parent
f59f8cac6c
commit
27046b5186
1
TODO
1
TODO
@ -7,7 +7,6 @@ New config TODO
|
||||
Bugs
|
||||
====
|
||||
|
||||
Underlines aren't displayed correctly in completion widget
|
||||
All kind of FIXMEs
|
||||
Weird font rendering
|
||||
https://bugreports.qt-project.org/browse/QTBUG-20973
|
||||
|
@ -474,7 +474,7 @@ class _CompletionItemDelegate(QStyledItemDelegate):
|
||||
docsize = self._doc.size().toSize()
|
||||
size = self._style.sizeFromContents(QStyle.CT_ItemViewItem, self._opt,
|
||||
docsize, self._opt.widget)
|
||||
return size + QSize(10, 1)
|
||||
return size + QSize(10, 3)
|
||||
|
||||
def paint(self, painter, option, index):
|
||||
"""Override the QStyledItemDelegate paint function.
|
||||
|
Loading…
Reference in New Issue
Block a user