Closed
Bug 608604
Opened 14 years ago
Closed 14 years ago
commonDialog icon and text are misaligned
Categories
(Toolkit :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b10
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: mcdavis941.bugs, Assigned: Dolske)
References
Details
(Keywords: regression)
Attachments
(2 files)
97.50 KB,
image/png
|
Details | |
1.05 KB,
patch
|
Gavin
:
review+
Gavin
:
approval2.0+
|
Details | Diff | Splinter Review |
In common dialogs, the vertical alignment of the text relative to the icon (on Windows, I didn't look at Linux) has changed between Fx3.6 and the 2010-10-30 nightly.
Looking at several other popups from other apps and from Windows itself, it seems like the convention is to more-or-less align the top of the text with the top of the icon. It was that way for Fx3.6, but it's lower now for Fx4. Seems like a regression.
This looks like it has to do with hiding the title (Bug 563274, Bug 575485) on platforms other than Mac. Maybe also hide the spacer whenever the title is hidden?
Screenshot coming.
Reporter | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Nominating for blocking, because I'm not sure how important a bug this is considered in UI-land...
blocking2.0: --- → ?
Keywords: regression
Reporter | ||
Comment 3•14 years ago
|
||
Just to amplify a little:
The dialogs at issue are the ones shown with window.alert(), window.prompt(), and window.confirm(), i.e., the ones represented by commonDialog.xul.
STR is just window.alert('your text here'), and compare the result on 3.6 vs. a trunk nightly.
The title mentioned above is <description id="info.title"> in commonDialog.xul, and the spacer is the element right after it. The in-dialog title is there because on the Mac there's no title above the dialog (no windowframe, no titlebar), so it's shown inside the dialog itself -- but only on the Mac. The spacer is there to separate the text of the in-dialog title (when that is shown) from the text that follows it. When the in-dialog title is hidden, the spacer should be hidden too (I think), else you get the extra vertical space.
http://mxr.mozilla.org/mozilla-central/source/toolkit/components/prompts/content/commonDialog.xul#60
CCing Dolske because he worked on Bug 575485.
I don't know how much this matters either, but the icon does seem to stick out a little now.
Assignee | ||
Comment 4•14 years ago
|
||
Not blocking, but a polish nit we should fix. Will pick this up, perhaps in the course of something else.
Assignee: nobody → dolske
blocking2.0: ? → -
Product: Core → Toolkit
QA Contact: general → general
Updated•14 years ago
|
Attachment #503092 -
Flags: review?(gavin.sharp) → review+
Updated•14 years ago
|
Attachment #503092 -
Flags: approval2.0+
Assignee | ||
Updated•14 years ago
|
Summary: commonDialog icon-to-text alignment has changed between fx3.6 and fx4 → commonDialog icon and text are misaligned
Assignee | ||
Comment 6•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b10
You need to log in
before you can comment on or make changes to this bug.
Description
•