Skip to content

Commit

Permalink
Fixes combobox in rtl. Thanks Evan and David. Fixes #4368, #5330
Browse files Browse the repository at this point in the history
  • Loading branch information
peller committed Dec 10, 2007
1 parent 2632169 commit 0265790
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _base/place.js
Expand Up @@ -138,7 +138,7 @@ dijit._place = function(/*DomNode*/ node, /* Array */ choices, /* Function */ la
best = {
corner: corner,
aroundCorner: choices[i].aroundCorner,
x: startX,
x: (!dojo._isBodyLtr() && dojo.isIE && startX < 0) ? document.body.clientWidth + startX : startX,
y: startY,
w: width,
h: height,
Expand Down
1 change: 1 addition & 0 deletions themes/dijit_rtl.css
Expand Up @@ -16,6 +16,7 @@
}

.dijitRtl .dijitComboBox .dijitInputField {
float:right;
border-right-width:1px !important;
border-left-width:0px !important;
}
Expand Down

0 comments on commit 0265790

Please sign in to comment.