mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
4a128f8ec7
commit
c455ade7ad
@ -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) =
|
||||
|
Loading…
Reference in New Issue
Block a user