Closed
Bug 535383
Opened 15 years ago
Closed 15 years ago
make statusbarpanels 16px high
Categories
(Mozilla Labs :: Jetpack Prototype, defect)
Mozilla Labs
Jetpack Prototype
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: myk, Assigned: myk)
References
Details
Attachments
(3 files)
3.16 KB,
patch
|
Mardak
:
review+
|
Details | Diff | Splinter Review |
17.82 KB,
image/png
|
Details | |
1.89 KB,
patch
|
Mardak
:
review+
|
Details | Diff | Splinter Review |
Per discussion in bug 531950, we should make statusbarpanels a consistent 16px high on all OSes instead of a OS-specific height (f.e. 18px, 16px, and 22px on three common OSes).
Assignee | ||
Comment 1•15 years ago
|
||
Attachment #418049 -
Flags: review?(edilee)
Comment 2•15 years ago
|
||
Comment on attachment 418049 [details] [diff] [review]
patch v1: makes it so
Padding change for better "balance"? How are the now-shorter iframes anchored on platforms that have more height?
Assignee | ||
Comment 3•15 years ago
|
||
(In reply to comment #2)
> (From update of attachment 418049 [details] [diff] [review])
> Padding change for better "balance"?
Yeah, that particular change is Mac-only and is a hack to make the statusbarpanel background look better, since we're applying the background image for the statusbarpanel to the document inside the iframe inside it. It still doesn't look perfect, but I realized that it's a bit better if we apply top padding to the iframe rather than bottom padding to the content document.
> How are the now-shorter iframes anchored on platforms that have more height?
Here are before and after screenshots for Windows XP, Mac OS X, and Linux. Linux is much better, Windows seems the same, and Mac OS X is slightly better for the image case and slightly worse for the less-common text case.
Comment 4•15 years ago
|
||
Seems like the "stolen" mac-background for the iframe's content is 1px too low now. There's an extra white line above the "hi" in the "after" shot.
Assignee | ||
Comment 5•15 years ago
|
||
(In reply to comment #4)
> Seems like the "stolen" mac-background for the iframe's content is 1px too low
> now. There's an extra white line above the "hi" in the "after" shot.
Yeah, I'm just not sure what to do about that, so I've reverted that change for now. Now Mac looks the same as before (which is also bad, as the image in the first panel overlaps its top border).
Attachment #418049 -
Attachment is obsolete: true
Attachment #418085 -
Flags: review?(edilee)
Attachment #418049 -
Flags: review?(edilee)
Comment 6•15 years ago
|
||
Comment on attachment 418049 [details] [diff] [review]
patch v1: makes it so
Personally I feel the first patch is better with the positioning. But Aza can make the call. If we do go with this one, we'll have a followup bug to fix the background issue.
Attachment #418049 -
Attachment is obsolete: false
Attachment #418049 -
Flags: review+
Updated•15 years ago
|
Attachment #418085 -
Flags: review?(edilee) → review+
Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #6)
> (From update of attachment 418049 [details] [diff] [review])
> Personally I feel the first patch is better with the positioning. But Aza can
> make the call. If we do go with this one, we'll have a followup bug to fix the
> background issue.
I can make the call on this and have checked in the first patch in changeset http://hg.mozilla.org/labs/jetpack/rev/dab7edb86138.
I filed bug 535482 on the text panel regression.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 8•15 years ago
|
||
A late agreement with both Mardak and Myk that the first patch looks better.
You need to log in
before you can comment on or make changes to this bug.
Description
•