Merge lp:~junrrein/granite/fix-1196721 into lp:~elementary-pantheon/granite/granite
Proposed by
Julián Unrrein
Status: | Merged |
---|---|
Approved by: | David Gomes |
Approved revision: | 598 |
Merged at revision: | 609 |
Proposed branch: | lp:~junrrein/granite/fix-1196721 |
Merge into: | lp:~elementary-pantheon/granite/granite |
Diff against target: |
79 lines (+16/-15) 1 file modified
lib/Widgets/DynamicNotebook.vala (+16/-15) |
To merge this branch: | bzr merge lp:~junrrein/granite/fix-1196721 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Gomes (community) | Approve | ||
Review via email: mp+174846@code.launchpad.net |
Commit message
[DynamicNotebook] Let tabs handle clicks over their icons and spinners to fix bug #1196721.
Description of the change
[DynamicNotebook] Let tabs handle clicks over their icons and spinners to fix bug #1196721.
To post a comment you must log in.
Rev597 increments the spinner size a bit to make it the same size as the icon (in Midori, at least).
I did this to prevent a padding problem when the tab has a short label (opening Google in Midori, for example). The size of the default spinner is 14px, while the size of the icon is 16px. This causes text to move a little to the sides when changing from an icon to a spinner and viceversa.
This can also be worked around incrementing the padding around the spinner. I don't know which way is preferable.