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:
parent
ca38e05ed4
commit
17a3d2c63f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user