Merge lp:~aacid/unity-2d/fix_launcher_rtl_border_margin into lp:unity-2d

Proposed by Albert Astals Cid
Status: Merged
Approved by: Gerry Boland
Approved revision: 967
Merged at revision: 968
Proposed branch: lp:~aacid/unity-2d/fix_launcher_rtl_border_margin
Merge into: lp:unity-2d
Diff against target: 13 lines (+2/-1)
1 file modified
shell/launcher/Launcher.qml (+2/-1)
To merge this branch: bzr merge lp:~aacid/unity-2d/fix_launcher_rtl_border_margin
Reviewer Review Type Date Requested Status
Gerry Boland Pending
Review via email: mp+96553@code.launchpad.net

Description of the change

[launcher] Fix margin for the launcher border in RTL

To post a comment you must log in.
967. By Albert Astals Cid

Fix margin for the launcher border in RTL

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'shell/launcher/Launcher.qml'
2--- shell/launcher/Launcher.qml 2012-03-02 10:38:40 +0000
3+++ shell/launcher/Launcher.qml 2012-03-08 12:28:19 +0000
4@@ -87,7 +87,8 @@
5 Rectangle {
6 Accessible.name: "background"
7 anchors.fill: parent
8- anchors.rightMargin: declarativeView.dashActive ? 0 : border.width
9+ anchors.rightMargin: Utils.isLeftToRight() && !declarativeView.dashActive ? border.width : 0
10+ anchors.leftMargin: Utils.isRightToLeft() && !declarativeView.dashActive ? border.width : 0
11 color: "black"
12 opacity: 0.66
13 visible: desktop.isCompositingManagerRunning

Subscribers

People subscribed via source and target branches