mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
Bug 1194842 - Fix the width calculation of the textbox for editable XUL tree cells in RTL mode; r=jaws
This commit is contained in:
parent
617067e78e
commit
6fc3afe437
@ -370,7 +370,7 @@
|
||||
var left, widthdiff;
|
||||
if (style.direction == "rtl") {
|
||||
left = cellRect.x;
|
||||
widthdiff = cellRect.x + cellRect.width - textRect.x - textRect.width;
|
||||
widthdiff = cellRect.x - textRect.x;
|
||||
} else {
|
||||
left = textRect.x;
|
||||
widthdiff = textRect.x - cellRect.x;
|
||||
|
Loading…
Reference in New Issue
Block a user