[gnome-shell/wip/rewindow: 20/20] workspacesView: Add some more spacing between window and workspace thumbs



commit cd2f7f48809097a1d7a59bcade476672f3b287e4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Aug 20 18:30:04 2012 -0400

    workspacesView: Add some more spacing between window and workspace thumbs
    
    https://bugzilla.gnome.org/show_bug.cgi?id=582650

 data/theme/gnome-shell.css |    2 +-
 js/ui/workspacesView.js    |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index d483753..921da23 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -562,7 +562,7 @@ StButton.popup-menu-item:insensitive {
 /* Overview */
 
 #overview {
-    spacing: 12px;
+    spacing: 40px;
 }
 
 .window-caption {
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index 08ed0ef..e85aeae 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -870,6 +870,7 @@ const WorkspacesDisplay = new Lang.Class({
         let clipY = y + (fullHeight - clipHeight) / 2;
 
         let widthAdjust = this._zoomOut ? controlsNatural : controlsVisible;
+        widthAdjust += Main.overview._spacing;
         width -= widthAdjust;
         if (rtl)
             x += widthAdjust;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]