зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1175094 - Include borderPadding in the combobox's containerWidth, so that dropdown arrow is positioned correctly in RTL. r=smontagu
This commit is contained in:
Родитель
e4abf3e07a
Коммит
cf4ecafdcf
|
@ -866,7 +866,8 @@ nsComboboxControlFrame::Reflow(nsPresContext* aPresContext,
|
|||
|
||||
// The button should occupy the same space as a scrollbar
|
||||
WritingMode wm = aReflowState.GetWritingMode();
|
||||
nscoord containerWidth = aReflowState.ComputedWidth();
|
||||
nscoord containerWidth = aReflowState.ComputedWidth() +
|
||||
aReflowState.ComputedPhysicalBorderPadding().LeftRight();
|
||||
LogicalRect buttonRect = mButtonFrame->GetLogicalRect(containerWidth);
|
||||
|
||||
buttonRect.IStart(wm) =
|
||||
|
|
Загрузка…
Ссылка в новой задаче