Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r181744 - [GTK] Scrollbars look bad with GTK+ 3.16
https://bugs.webkit.org/show_bug.cgi?id=140800 Reviewed by Sergio Villar Senin. Take margin into account when rendering scrollbars. This fixes the huge scrollbars rendered with GTK+ 3.16. We don't need to check the GTK+ version because in previous versions the marging were 0, so the same code just works. * platform/gtk/ScrollbarThemeGtk.cpp: (WebCore::adjustRectAccordingToMargin): (WebCore::ScrollbarThemeGtk::paintTrackBackground): (WebCore::ScrollbarThemeGtk::paintThumb):
- Loading branch information
1 parent
c159fdd
commit e525471
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters