The logic on this check was recently reversed. However, it isn't really needed. It only is relevant if you have a 1-column homebox with width: 100%. It appears it was trying to save some time by not changing height in that case. Equalizing the height of one column to itself shouldn't be a problem. This sort of check just slows down the common case, multiple columns. Needs testing.

CommentFileSizeAuthor
homebox.d7.patch1019 bytesdrumm
homebox.d6.patch973 bytesdrumm

Comments

brianV’s picture

Tested, this works well. I'll apply these tomorrow.

brianV’s picture

Status: Needs review » Reviewed & tested by the community
brianV’s picture

brianV’s picture

Status: Reviewed & tested by the community » Fixed
brianV’s picture

Reverted due to #955072: Make Homebox only equalize heights of columns within the same row..

In the use case where there are multiple rows of columns, all columns are sized to the height of the tallest column, even if it is not in the current row.

While this patch did not create this problem, it does amplify it; the width checks that were removed prevented 100% width columns from being resized to the height of the tallest column.

The proper solution would be to assign columns to rows, and then only equalize columns within their respective rows.

brianV’s picture

Status: Fixed » Closed (won't fix)
brianV’s picture

edit: Err, just to note - I reverted the patch, but I did fix the previously introduced logic error where the .match() results should check for 'null'.