Bug 587248 - Part 14: Observe the group box right margin when arranging tab items in RTL mode; r=ian a=blocking-betaN+

This commit is contained in:
Ehsan Akhgari 2010-11-10 22:48:43 -05:00
parent 28b981d0ef
commit f15de44d0c

View File

@ -970,7 +970,7 @@ let Items = {
let initialOffset = 0;
if (UI.rtl) {
initialOffset = bounds.width - tabWidth;
initialOffset = bounds.width - tabWidth - padding;
}
var box = new Rect(bounds.left + initialOffset, bounds.top, tabWidth, tabHeight);