Rename completion background settings to .odd/.even

This commit is contained in:
Florian Bruhin 2017-06-16 15:36:01 +02:00
parent bc8176ff21
commit 85bee4a7d2
2 changed files with 9 additions and 9 deletions

View File

@ -58,8 +58,8 @@ class CompletionView(QTreeView):
STYLESHEET = """
QTreeView {
font: {{ conf.fonts.completion.entry }};
background-color: {{ conf.colors.completion.bg }};
alternate-background-color: {{ conf.colors.completion.alternate_bg }};
background-color: {{ conf.colors.completion.even.bg }};
alternate-background-color: {{ conf.colors.completion.odd.bg }};
outline: 0;
border: 0px;
}

View File

@ -1272,15 +1272,15 @@ colors.completion.fg:
type: QtColor
desc: Text color of the completion widget.
colors.completion.bg:
default: '#333333'
type: QssColor
desc: Background color of the completion widget.
colors.completion.alternate_bg:
colors.completion.odd.bg:
default: '#444444'
type: QssColor
desc: Alternating background color of the completion widget.
desc: Background color of the completion widget for odd rows.
colors.completion.even.bg:
default: '#333333'
type: QssColor
desc: Background color of the completion widget for even rows.
colors.completion.category.fg:
default: white