Closed Bug 980695 Opened 10 years ago Closed 10 years ago

Panel width is two pixels narrower than content width

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 980705

People

(Reporter: willmarquardt, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20140212131424

Steps to reproduce:

Created a panel without setting a width property.
Set html (or body) width to number of pixels (in CSS)


Actual results:

The panel had a horizontal scroll bar at the bottom allowing me to scroll one extra pixel on each side.


Expected results:

The panel should be as wide as the content unless otherwise specified, resulting in no horizontal scrolling.

The obvious solution is to set the content width in the panel constructor and not the CSS, but it would be nice to be able to do both.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
> *** This bug has been marked as a duplicate of bug 980705 ***

I filed both bugs. Though they both refer to panel size, I wouldn't call them duplicates. The panel width is consistently two pixels wider than the panel content whereas the panel height (bug 980705) is a fixed height irrespective of its content.
*narrower
Please ignore my above comment. The width I had set happened to be very close to the default width. 

This is indeed a duplicate.
You need to log in before you can comment on or make changes to this bug.