Merge lp://qastaging/~3v1n0/unity/fading-title into lp://qastaging/unity

Proposed by Marco Trevisan (Treviño)
Status: Merged
Merged at revision: 853
Proposed branch: lp://qastaging/~3v1n0/unity/fading-title
Merge into: lp://qastaging/unity
Diff against target: 36 lines (+5/-5)
1 file modified
src/PanelMenuView.cpp (+5/-5)
To merge this branch: bzr merge lp://qastaging/~3v1n0/unity/fading-title
Reviewer Review Type Date Requested Status
Jorge Castro Pending
Jason Smith Pending
Review via email: mp+49232@code.qastaging.launchpad.net

This proposal supersedes a proposal from 2011-02-09.

Description of the change

Adding a small fade-out effect on Menu to cut the window Title when it's longer than the panel

All this using cairo linear patterns when needed (the pattern is using non-alpha colors until the end margin is reached, then it's faded to transparent).

Example: http://go.3v1n0.net/eivzuo
The fading space can be adjusted setting the variable text_margin.

This fixes #694924.

==================

UPDATED!

Yesterday evening I forgot to push a commit I did that fixed two issues with the current implementation:
 - The title was fading-out too early, and not just when it was reaching the indicator panel
 - If the title was slightly longer (at least a surplus of padding) than the panel menu it wasn't cut

This new commit fixes these issues (here how it looks http://go.3v1n0.net/gEmYbI), sorry but I just forgot to push :(.

To post a comment you must log in.
Revision history for this message
Jason Smith (jassmith) wrote : Posted in a previous version of this proposal

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.