mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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:
@@ -1008,6 +1008,22 @@ gui_mch_set_scrollbar_pos(scrollbar_T *sb, int x, int y, int w, int h)
|
||||
gtk_form_move_resize(GTK_FORM(gui.formwin), sb->id, x, y, w, h);
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
/*
|
||||
* Take action upon scrollbar dragging.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user