messageTray: Reduce the scroll view fade

https://bugzilla.gnome.org/show_bug.cgi?id=662226
This commit is contained in:
Jasper St. Pierre 2011-10-27 13:52:17 -04:00
parent 3294a6e1a7
commit 18541c447e
2 changed files with 2 additions and 2 deletions

View File

@ -1217,6 +1217,7 @@ StTooltip StLabel {
#notification-scrollview { #notification-scrollview {
max-height: 10em; max-height: 10em;
-st-vfade-offset: 24px;
} }
#notification-scrollview > .top-shadow, #notification-scrollview > .bottom-shadow { #notification-scrollview > .top-shadow, #notification-scrollview > .bottom-shadow {

View File

@ -597,8 +597,7 @@ Notification.prototype = {
this._table.add_style_class_name('multi-line-notification'); this._table.add_style_class_name('multi-line-notification');
this._scrollArea = new St.ScrollView({ name: 'notification-scrollview', this._scrollArea = new St.ScrollView({ name: 'notification-scrollview',
vscrollbar_policy: this._scrollPolicy, vscrollbar_policy: this._scrollPolicy,
hscrollbar_policy: Gtk.PolicyType.NEVER, hscrollbar_policy: Gtk.PolicyType.NEVER });
style_class: 'vfade' });
this._table.add(this._scrollArea, { row: 1, this._table.add(this._scrollArea, { row: 1,
col: 2 }); col: 2 });
this._updateLastColumnSettings(); this._updateLastColumnSettings();