Rename scrollbar.padding/scrollbar.width.
This commit is contained in:
parent
4f10e553a8
commit
9f11990efc
@ -83,13 +83,13 @@ class CompletionView(QTreeView):
|
|||||||
}
|
}
|
||||||
|
|
||||||
QTreeView QScrollBar {
|
QTreeView QScrollBar {
|
||||||
width: {{ config.get('completion', 'scrollbar.width') }}px;
|
width: {{ config.get('completion', 'scrollbar-width') }}px;
|
||||||
background: {{ color['completion.scrollbar.bg'] }};
|
background: {{ color['completion.scrollbar.bg'] }};
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeView QScrollBar::handle {
|
QTreeView QScrollBar::handle {
|
||||||
background: {{ color['completion.scrollbar.fg'] }};
|
background: {{ color['completion.scrollbar.fg'] }};
|
||||||
border: {{ config.get('completion', 'scrollbar.padding') }}px solid
|
border: {{ config.get('completion', 'scrollbar-padding') }}px solid
|
||||||
{{ color['completion.scrollbar.bg'] }};
|
{{ color['completion.scrollbar.bg'] }};
|
||||||
min-height: 10px;
|
min-height: 10px;
|
||||||
}
|
}
|
||||||
|
@ -414,11 +414,11 @@ def data(readonly=False):
|
|||||||
"Whether to shrink the completion to be smaller than the "
|
"Whether to shrink the completion to be smaller than the "
|
||||||
"configured size if there are no scrollbars."),
|
"configured size if there are no scrollbars."),
|
||||||
|
|
||||||
('scrollbar.width',
|
('scrollbar-width',
|
||||||
SettingValue(typ.Int(minval=0), '12'),
|
SettingValue(typ.Int(minval=0), '12'),
|
||||||
"Width of the scrollbar in the completion window (in px)."),
|
"Width of the scrollbar in the completion window (in px)."),
|
||||||
|
|
||||||
('scrollbar.padding',
|
('scrollbar-padding',
|
||||||
SettingValue(typ.Int(minval=0), '2'),
|
SettingValue(typ.Int(minval=0), '2'),
|
||||||
"Padding of scrollbar handle in completion window (in px)."),
|
"Padding of scrollbar handle in completion window (in px)."),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user