Center the search results as well
Use overlay_scrollbars and the same padding. https://bugzilla.gnome.org/show_bug.cgi?id=694701
This commit is contained in:
parent
96e02c4c2e
commit
310dc10c4d
@ -860,6 +860,7 @@ StScrollBar StButton#vhandle:active {
|
||||
padding: 4px 16px;
|
||||
}
|
||||
|
||||
.search-display > StBoxLayout,
|
||||
.all-apps > StBoxLayout,
|
||||
.frequent-apps > StBoxLayout {
|
||||
/* horizontal padding to make sure the scrollbar doesn't overlap content */
|
||||
|
@ -331,7 +331,8 @@ const SearchResults = new Lang.Class({
|
||||
|
||||
this._scrollView = new St.ScrollView({ x_fill: true,
|
||||
y_fill: false,
|
||||
style_class: 'vfade' });
|
||||
overlay_scrollbars: true,
|
||||
style_class: 'search-display vfade' });
|
||||
this._scrollView.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
|
||||
this._scrollView.add_actor(scrollChild);
|
||||
let action = new Clutter.PanAction({ interpolate: true });
|
||||
|
Loading…
Reference in New Issue
Block a user