[gnome-shell/wip/re-search: 130/151] searchDisplay: Put the grid search results in the middle



commit 17a3d2c63f8bcb12d69b7bb57a9937bf88f42467
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Aug 20 19:44:40 2012 -0400

    searchDisplay: Put the grid search results in the middle
    
    This is still "off-balance" due to the dash on the left.

 js/ui/searchDisplay.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js
index f37a88f..690979d 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -276,7 +276,7 @@ const GridSearchResults = new Lang.Class({
 
         this._grid = grid || new IconGrid.IconGrid({ rowLimit: MAX_GRID_SEARCH_RESULTS_ROWS,
                                                      xAlign: St.Align.START });
-        this.actor = new St.Bin({ x_align: St.Align.START });
+        this.actor = new St.Bin({ x_align: St.Align.MIDDLE });
         this.actor.set_child(this._grid.actor);
 
         this._width = 0;



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