1
0
forked from aniani/vim

patch 8.2.1228: scrollbars not flush against the window edges when maximised

Problem:    Scrollbars not flush against the window edges when maximised.
Solution:   Add padding. (Ken Takata, closes #5602, closes #6466)
This commit is contained in:
Bram Moolenaar
2020-07-17 20:43:43 +02:00
parent f5be8cdb77
commit 203ec7760d
16 changed files with 144 additions and 2 deletions

View File

@@ -1743,6 +1743,22 @@ gui_mch_set_scrollbar_pos(
}
}
int
gui_mch_get_scrollbar_xpadding(void)
{
// TODO: Calculate the padding for adjust scrollbar position when the
// Window is maximized.
return 0;
}
int
gui_mch_get_scrollbar_ypadding(void)
{
// TODO: Calculate the padding for adjust scrollbar position when the
// Window is maximized.
return 0;
}
void
gui_mch_enable_scrollbar(scrollbar_T *sb, int flag)
{