mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
26ff686dbd
commit
a970d4ebe1
@ -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