Merge branch 'master' of https://github.com/nanjekyejoannah/qutebrowser into nanjekyejoannah-master
This commit is contained in:
commit
3d1f28ac9c
@ -206,7 +206,7 @@ class CompletionItemDelegate(QStyledItemDelegate):
|
||||
else:
|
||||
self._doc.setPlainText(self._opt.text)
|
||||
else:
|
||||
self._doc.setHtml('<b>{}</b>'.format(html.escape(self._opt.text)))
|
||||
self._doc.setHtml(html.escape(self._opt.text))
|
||||
|
||||
def _draw_focus_rect(self):
|
||||
"""Draw the focus rectangle of an ItemViewItem."""
|
||||
|
@ -69,6 +69,7 @@ class CompletionView(QTreeView):
|
||||
{{ color['completion.category.border.top'] }};
|
||||
border-bottom: 1px solid
|
||||
{{ color['completion.category.border.bottom'] }};
|
||||
font: {{ font['completion.category'] }};
|
||||
}
|
||||
|
||||
QTreeView::item:selected, QTreeView::item:selected:hover {
|
||||
|
@ -1243,6 +1243,10 @@ def data(readonly=False):
|
||||
('completion',
|
||||
SettingValue(typ.Font(), DEFAULT_FONT_SIZE + ' ${_monospace}'),
|
||||
"Font used in the completion widget."),
|
||||
|
||||
('completion.category',
|
||||
SettingValue(typ.Font(), 'bold ${completion}'),
|
||||
"Font used in the completion categories."),
|
||||
|
||||
('tabbar',
|
||||
SettingValue(typ.QtFont(), DEFAULT_FONT_SIZE + ' ${_monospace}'),
|
||||
|
Loading…
Reference in New Issue
Block a user