diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-09 18:33:29 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-09 18:33:29 +0100 |
commit | 8ac441576fd219fb7227349e228d5b68520b204a (patch) | |
tree | 8deb339c08aeba2ab92c7b77922960c7b226004e /src/option.h | |
parent | 26d205dcd886b48713f22cbdbf2a8e55400083dc (diff) | |
download | vim-git-8ac441576fd219fb7227349e228d5b68520b204a.tar.gz |
patch 8.0.1278: GUI window always resizes when adding scrollbarv8.0.1278
Problem: GUI window always resizes when adding/removing a scrollbar,
toolbar, etc.
Solution: Add the 'k' flag in 'guioptions' to keep the GUI window size and
change the number of lines/columns instead. (Ychin, closes #703)
Diffstat (limited to 'src/option.h')
-rw-r--r-- | src/option.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h index 88eadae4c..f9972f21a 100644 --- a/src/option.h +++ b/src/option.h @@ -235,7 +235,8 @@ #define GO_TOOLBAR 'T' /* add toolbar */ #define GO_FOOTER 'F' /* add footer */ #define GO_VERTICAL 'v' /* arrange dialog buttons vertically */ -#define GO_ALL "aAbcefFghilmMprtTv" /* all possible flags for 'go' */ +#define GO_KEEPWINSIZE 'k' /* keep GUI window size */ +#define GO_ALL "aAbcefFghilmMprtTvk" /* all possible flags for 'go' */ /* flags for 'comments' option */ #define COM_NEST 'n' /* comments strings nest */ |