GNOME Bugzilla – Bug 692456
Add a way for StScrollView to reserve scrollbars allocations
Last modified: 2013-01-24 16:29:51 UTC
If a scrolled view has an automatic policy for a scrollbar, it can appear and disappear at any time, according to the content. Showing the scrollbar has the effect to change the allocation of the scrolled part of the view; this is especially noticeable for vertically scrolled views with a centered layout (like our search results), since the scrollbar will make everything shift horizontally. One way to fix this generically is to always shrink the scrolled content allocation as if the scrollbar was visible, even if it's not. Not sure we should do this unconditionally, so I made it a property that defaults to FALSE.
Created attachment 234310 [details] [review] scroll-view: add reserve-scrollbars-allocation property This is useful to avoid reflowing the layout when there's a center-aligned block.
Created attachment 234311 [details] [review] searchDisplay: reserve scrollbars allocation
Also see bug 686881.
Heh indeed, that's the same bug. Closing as a duplicate. *** This bug has been marked as a duplicate of bug 686881 ***