GNOME Bugzilla – Bug 685449
Non-uniform borders on GtkScrolledWindow break children allocation
Last modified: 2012-10-04 13:21:45 UTC
When a non-uniform border is set on a GtkScrolledWindow, the allocation of the child and of the scrollbars is wrong; scrollbars are not anymore in the bevel, and the child allocation also is cropped in the wrong way. See screenshots.
Created attachment 225728 [details] 10px uniform border
Created attachment 225729 [details] 10px top+right border
(In reply to comment #2) > Created an attachment (id=225729) [details] > 10px top+left border Erm, top+right, not top+left.
Created attachment 225771 [details] [review] scrolledwindow: fix wrong allocation of padding and borders When positioning the scrollbar we were doing several miscalculations when accounting for CSS paddings and borders. This also fixes a number of problems with RTL and when scrollbars-within-bevel is FALSE.
Attachment 225771 [details] pushed as 1a1361c - scrolledwindow: fix wrong allocation of padding and borders Pushed to master