Patch 8.2.2939
Problem: GTK: righthand scrollbar does not show with split window.
Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
closes #8324)
Files: src/gui_gtk.c
*** ../vim-8.2.2938/src/gui_gtk.c 2021-04-05 18:20:42.024142486 +0200
--- src/gui_gtk.c 2021-06-05 15:59:33.067260655 +0200
***************
*** 1050,1055 ****
--- 1050,1058 ----
xpad = gui.formwin->allocation.width - gui.drawarea->allocation.width
- gui.scrollbar_width;
#endif
+ if (gui.which_scrollbars[SBAR_LEFT] && gui.which_scrollbars[SBAR_RIGHT])
+ xpad -= gui.scrollbar_width;
+
return (xpad < 0) ? 0 : xpad;
}
*** ../vim-8.2.2938/src/version.c 2021-06-04 21:57:53.935646716 +0200
--- src/version.c 2021-06-05 16:00:42.523061582 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2939,
/**/
--
Why is "abbreviation" such a long word?
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202106051408.155E8FST049684%40masaka.moolenaar.net.