Add an option single_window_margin_width to allow different margins when only a single window is visible in the layout

Fixes #688
This commit is contained in:
Kovid Goyal
2018-06-29 09:56:05 +05:30
parent 65fef81f29
commit e35c3cc913
5 changed files with 25 additions and 10 deletions

View File

@@ -452,6 +452,10 @@ Note that borders are displayed only when more than one window is visible. They
o('window_margin_width', 0.0, option_type=positive_float, long_text=_('''
The window margin (in pts) (blank area outside the border)'''))
o('single_window_margin_width', -1000.0, option_type=float, long_text=_('''
The window margin (in pts) to use when only a single window is visible.
Negative values will cause the value of :opt:`window_margin_width` to be used instead.'''))
o('window_padding_width', 0.0, option_type=positive_float, long_text=_('''
The window padding (in pts) (blank area between the text and the window border)'''))