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



commit 405d7aa342dec9782e60226781c5fa3928e03554
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 cdb9a8d..50087ac 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -275,7 +275,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]