searchDisplay: Put the grid search results in the middle

This is still "off-balance" due to the dash on the left.
This commit is contained in:
Jasper St. Pierre 2012-08-20 19:44:40 -04:00
parent ca38e05ed4
commit 17a3d2c63f

View File

@ -276,7 +276,7 @@ const GridSearchResults = new Lang.Class({
this._grid = grid || new IconGrid.IconGrid({ rowLimit: MAX_GRID_SEARCH_RESULTS_ROWS, this._grid = grid || new IconGrid.IconGrid({ rowLimit: MAX_GRID_SEARCH_RESULTS_ROWS,
xAlign: St.Align.START }); 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.actor.set_child(this._grid.actor);
this._width = 0; this._width = 0;