Add top and bottom shadows to app browser
Add a 'vshadow' property to StScrollView, which, when turned on, overlays gradient shadows on the top and bottom of the StScrollView. Turn this on for the StScrollView used for the app browser. https://bugzilla.gnome.org/show_bug.cgi?id=609604
This commit is contained in:
@ -91,7 +91,10 @@ AllAppDisplay.prototype = {
|
||||
this.actor = new St.BoxLayout({ style_class: 'all-app', vertical: true });
|
||||
this.actor.hide();
|
||||
|
||||
let view = new St.ScrollView({ x_fill: true, y_fill: false, style_class: 'all-app-scroll-view' });
|
||||
let view = new St.ScrollView({ x_fill: true,
|
||||
y_fill: false,
|
||||
style_class: 'all-app-scroll-view',
|
||||
vshadows: true });
|
||||
this._scrollView = view;
|
||||
this.actor.add(bin);
|
||||
this.actor.add(view, { expand: true, y_fill: false, y_align: St.Align.START });
|
||||
|
Reference in New Issue
Block a user