[dash] Left align well items

When the app well does not contain enough items to fill a single
row, items are centered - the same applies to sections in the
all-app menu.

https://bugzilla.gnome.org/show_bug.cgi?id=619236
This commit is contained in:
Florian Müllner 2010-06-06 01:36:11 +02:00
parent 7c5343a9fb
commit cba49959c1

View File

@ -996,7 +996,6 @@ WellGrid.prototype = {
let nColumns = 0; let nColumns = 0;
let usedWidth = 0; let usedWidth = 0;
while (nColumns < WELL_MAX_COLUMNS && while (nColumns < WELL_MAX_COLUMNS &&
nColumns < children.length &&
(usedWidth + this._item_size <= forWidth)) { (usedWidth + this._item_size <= forWidth)) {
usedWidth += this._item_size + this._spacing; usedWidth += this._item_size + this._spacing;
nColumns += 1; nColumns += 1;