Merge lp:~3v1n0/unity/fading-title into lp:unity
Status: | Merged |
---|---|
Merged at revision: | 853 |
Proposed branch: | lp:~3v1n0/unity/fading-title |
Merge into: | lp:unity |
Diff against target: |
36 lines (+5/-5) 1 file modified
src/PanelMenuView.cpp (+5/-5) |
To merge this branch: | bzr merge lp:~3v1n0/unity/fading-title |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jorge Castro | Pending | ||
Jason Smith | Pending | ||
Review via email: mp+49232@code.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://
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://
+1