Closed Bug 535383 Opened 15 years ago Closed 15 years ago

make statusbarpanels 16px high

Categories

(Mozilla Labs :: Jetpack Prototype, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Assigned: myk)

References

Details

Attachments

(3 files)

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).
Depends on: 531950
Attachment #418049 - Flags: review?(edilee)
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?
(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.
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.
(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 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+
Attachment #418085 - Flags: review?(edilee) → review+
(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
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.

Attachment

General

Created:
Updated:
Size: