[gnome-sound-recorder/wip/christopherdavis/use-no-shadow-for-scrolledwindow: 6/6] mainWindow: Remove shadow from ScrolledWindow
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder/wip/christopherdavis/use-no-shadow-for-scrolledwindow: 6/6] mainWindow: Remove shadow from ScrolledWindow
- Date: Tue, 22 Jan 2019 11:14:06 +0000 (UTC)
commit ced8260d792f7a3165661ea99ea539718e01eea8
Author: Christopher Davis <brainblasted disroot org>
Date: Thu Jan 17 09:44:01 2019 -0500
mainWindow: Remove shadow from ScrolledWindow
Our ScrolledWindow was using Gtk.ShadowType.In, causing a nasty border effect on the window. By
defaulting to ShadowType.None we get rid of this border.
src/mainWindow.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index dca8038..591c1d5 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -341,8 +341,7 @@ var MainView = new Lang.Class({
},
scrolledWinAdd: function() {
- this._scrolledWin = new Gtk.ScrolledWindow({ shadow_type: Gtk.ShadowType.IN,
- vexpand: true });
+ this._scrolledWin = new Gtk.ScrolledWindow({ vexpand: true });
this._scrolledWin.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
this.scrollbar = this._scrolledWin.get_vadjustment();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]