[gnome-shell] Touch up the spacing and style of the app view



commit c908a060b839b5e80a55dcbcd5e5f08246d1ba7c
Author: William Jon McCann <jmccann redhat com>
Date:   Mon Nov 29 13:16:20 2010 -0500

    Touch up the spacing and style of the app view
    
    Adds more padding between app icons, left aligns the view,
    removes the ugly separator, adds some margin on the right.

 data/theme/gnome-shell.css |   10 +++++-----
 js/ui/appDisplay.js        |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 49aa497..d9fa4a8 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -347,6 +347,7 @@ StTooltip StLabel {
 }
 
 #viewSelector {
+    padding: 16px;
     spacing: 16px;
 }
 
@@ -485,22 +486,21 @@ StTooltip StLabel {
 }
 
 .icon-grid {
-    spacing: 6px;
+    spacing: 36px;
     -shell-grid-item-size: 70px;
 }
 
 .all-app {
-    padding: 10px;
+    padding: 36px 150px 10px 0px;
 }
 
 .app-section-divider-container {
-    padding-top: 10px;
-    padding-bottom: 10px;
+    padding-top: 36px;
+    padding-bottom: 36px;
 }
 
 .app-section-divider {
     height: 2px;
-    background-image: url("separator-white.png");
 }
 
 #dash > .app-well-app {
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 09c7c88..a314098 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -30,7 +30,7 @@ function AlphabeticalView() {
 AlphabeticalView.prototype = {
     _init: function() {
         this.actor = new St.BoxLayout({ vertical: true });
-        this._grid = new IconGrid.IconGrid();
+        this._grid = new IconGrid.IconGrid({ xAlign: St.Align.START });
         this._appSystem = Shell.AppSystem.get_default();
         this.actor.add(this._grid.actor, { y_align: St.Align.START, expand: true });
     },



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