Fix completion coloring
This commit is contained in:
parent
664079c728
commit
14bcdafe47
@ -57,6 +57,8 @@ class CompletionView(QTreeView):
|
||||
resize_completion: Emitted when the completion should be resized.
|
||||
"""
|
||||
|
||||
# Drawing the item foreground will be done by CompletionItemDelegate, so we
|
||||
# don't define that in this stylesheet.
|
||||
STYLESHEET = """
|
||||
QTreeView {{
|
||||
{font[completion]}
|
||||
@ -64,11 +66,6 @@ class CompletionView(QTreeView):
|
||||
outline: 0;
|
||||
}}
|
||||
|
||||
QTreeView::item:enabled {{
|
||||
{color[completion.item.fg]}
|
||||
{color[completion.item.bg]}
|
||||
}}
|
||||
|
||||
QTreeView::item:disabled {{
|
||||
{color[completion.category.bg]}
|
||||
border-top: 1px solid {color[completion.category.border.top]};
|
||||
@ -81,7 +78,6 @@ class CompletionView(QTreeView):
|
||||
border-bottom: 1px solid
|
||||
{color[completion.item.selected.border.bottom]};
|
||||
{color[completion.item.selected.bg]}
|
||||
{color[completion.item.selected.fg]}
|
||||
}}
|
||||
"""
|
||||
COLUMN_WIDTHS = (20, 70, 10)
|
||||
|
Loading…
Reference in New Issue
Block a user