Closed
Bug 362485
Opened 19 years ago
Closed 19 years ago
[reflow branch]The drop down button is slightly in the wrong spot in the combobox
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Assigned: bzbarsky)
References
()
Details
(Keywords: testcase)
Attachments
(3 files)
|
2.34 KB,
patch
|
Details | Diff | Splinter Review | |
|
273 bytes,
text/html
|
Details | |
|
1.01 KB,
patch
|
Details | Diff | Splinter Review |
This is a follow-up from bug 362424.
Comment from Boris:
> The reflow branch issue is probably due to the use of GetScrollBarDimensions
> and the use of double-width scrollbars here.... I'd love to step through the
> code with you sometime to figure out what's going on, but that should probably
> be a separate bug.
(the testcase is not completely minimised since it was made for bug 362424, but that should not really matter)
This is a screenshot of what I see in my reflow branch build:
https://bugzilla.mozilla.org/attachment.cgi?id=247123
| Assignee | ||
Comment 1•19 years ago
|
||
Catch me on IRC sometime when you have time to mess with this?
| Reporter | ||
Comment 2•19 years ago
|
||
Ok, I added these printfs, and loaded a testcase with auto width combobox, these are the results:
buttonWidth: 480
aReflowState.mComputedWidth: 3375
aReflowState.parentReflowState->mComputedWidth: 3975
aReflowState.mComputedBorderPadding.LeftRight(): 60
mComboBox->mDisplayWidth: 3495
aPresContext->ScaledPixelsToTwips(): 15.000000
| Reporter | ||
Comment 3•19 years ago
|
||
| Assignee | ||
Comment 4•19 years ago
|
||
Martijn, does this help? Seems to me like it should...
| Reporter | ||
Comment 5•19 years ago
|
||
Yes, that fixes it, r+ from me ;)
| Assignee | ||
Comment 6•19 years ago
|
||
Checked in on the branch.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Assignee: nobody → bzbarsky
You need to log in
before you can comment on or make changes to this bug.
Description
•