Merge lp://qastaging/~azzar1/unity/fix-977817 into lp://qastaging/unity
Proposed by
Andrea Azzarone
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Mirco Müller | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 2327 | ||||
Proposed branch: | lp://qastaging/~azzar1/unity/fix-977817 | ||||
Merge into: | lp://qastaging/unity | ||||
Diff against target: |
11 lines (+1/-1) 1 file modified
plugins/unityshell/src/ResultViewGrid.cpp (+1/-1) |
||||
To merge this branch: | bzr merge lp://qastaging/~azzar1/unity/fix-977817 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mirco Müller (community) | Approve | ||
Marco Trevisan (Treviño) | Approve | ||
Andrea Cimitan (community) | design | Approve | |
Review via email: mp+102869@code.qastaging.launchpad.net |
Commit message
Use 2 columns in the card view in desktop mode when filters are opened.
Description of the change
== Problem ==
[card view] Only one column of cards being displayed in desktop mode when filters are opened.
== Fix ==
Fix ResultViewGrid:
width * x + spacing + (x-1) + R(x) = geo_width
and not
width * x + spacing * x + R(x) = geo_width
So we can find x:
x = (geo_width + spacing) / (width + spacing)
To post a comment you must log in.
Works here