Mercurial > vim
diff src/gui_gtk.c @ 21355:fcccc29bd386 v8.2.1228
patch 8.2.1228: scrollbars not flush against the window edges when maximised
Commit: https://github.com/vim/vim/commit/203ec7760d255d9f92950c8779ddfc587d7896e0
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 17 20:43:43 2020 +0200
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 https://github.com/vim/vim/issues/5602, closes https://github.com/vim/vim/issues/6466)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 17 Jul 2020 20:45:07 +0200 |
parents | 3ff714d765ba |
children | ef7f63b97855 |
line wrap: on
line diff
--- a/src/gui_gtk.c +++ b/src/gui_gtk.c @@ -1008,6 +1008,22 @@ gui_mch_set_scrollbar_pos(scrollbar_T *s 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. */