Fix for comments on configdata
This commit is contained in:
parent
05d3631750
commit
e9c79e9be3
@ -657,7 +657,7 @@ def data(readonly=False):
|
|||||||
('pinned-width',
|
('pinned-width',
|
||||||
SettingValue(typ.Int(minval=10),
|
SettingValue(typ.Int(minval=10),
|
||||||
'43'),
|
'43'),
|
||||||
"The width of the pinned tab if it's horizontal, in px."),
|
"The width for pinned tabs with a horizontal tabbar, in px."),
|
||||||
|
|
||||||
('indicator-width',
|
('indicator-width',
|
||||||
SettingValue(typ.Int(minval=0), '3'),
|
SettingValue(typ.Int(minval=0), '3'),
|
||||||
@ -690,17 +690,8 @@ def data(readonly=False):
|
|||||||
fields=['perc', 'perc_raw', 'title', 'title_sep', 'index',
|
fields=['perc', 'perc_raw', 'title', 'title_sep', 'index',
|
||||||
'id', 'scroll_pos', 'host'], none_ok=True),
|
'id', 'scroll_pos', 'host'], none_ok=True),
|
||||||
'{index}'),
|
'{index}'),
|
||||||
"The format to use for the pinned tab title."
|
"The format to use for the tab title for pinned tabs."
|
||||||
" The following placeholders are defined:\n\n"
|
"The same placeholders like for title-format are defined."),
|
||||||
"* `{perc}`: The percentage as a string like `[10%]`.\n"
|
|
||||||
"* `{perc_raw}`: The raw percentage, e.g. `10`\n"
|
|
||||||
"* `{title}`: The title of the current web page\n"
|
|
||||||
"* `{title_sep}`: The string ` - ` if a title is set, empty "
|
|
||||||
"otherwise.\n"
|
|
||||||
"* `{index}`: The index of this tab.\n"
|
|
||||||
"* `{id}`: The internal tab ID of this tab.\n"
|
|
||||||
"* `{scroll_pos}`: The page scroll position.\n"
|
|
||||||
"* `{host}`: The host of the current web page."),
|
|
||||||
|
|
||||||
('title-alignment',
|
('title-alignment',
|
||||||
SettingValue(typ.TextAlignment(), 'left'),
|
SettingValue(typ.TextAlignment(), 'left'),
|
||||||
|
Loading…
Reference in New Issue
Block a user