Open Bug 301107 Opened 19 years ago Updated 8 years ago

Items in autocomplete and history popups don't line up vertically

Categories

(SeaMonkey :: Themes, defect)

defect
Not set
minor

Tracking

(Not tracked)

People

(Reporter: stefanh, Unassigned)

Details

(Whiteboard: ETA: SeaMonkey 1.0b)

Attachments

(2 files)

If you start typing in the url bar, suggested url's in the autocomplete popup
doesn't have the same left margin as the url's in the history popup.
Summary: Items in autocomplete and history popups doesn't line up vertically → Items in autocomplete and history popups don't line up vertically
Just attaching a patch to demonstrate how it would look on win/nix.
Can you do me some screenshots to show me what you mean? Thanks.
(In reply to comment #2)
> Can you do me some screenshots to show me what you mean? Thanks.

Sure :)

Note that those are mac-screenshots, and there's more stuff to correct (like
the background-color on the hovered menuitem in the history-drop-down (mac os 9
colors...). I thought of fixing the mac stuff in bug 301105, leaving this bug
only for win/nix.

What you can see in the screenshots that I wanted to correct here (I checked
with people and it seems to appear on win/nix as well) is:

1) Different height on items in the two boxes (the effect is that you think
that the line-height differ between the two drop-downs)

2) Different left-margin on items in autocomplete, history and search box.
Comment on attachment 189621 [details]
screenshots of drop-downs in url bar

You're missing the [G] icon from the Search Google line. Perhaps you don't have
a new enough build with ajschult's patch.

I also see you've got a spurious border between autocomplete and search, which
I don't see on Windows or Linux.

Although I see why you would want to line up the text of each popup with the
URL bar I'm not so convinced about the line height. It's probably harder as
there are font metrics to account for.

You might find it easier to fix Modern first ;-)
> You're missing the [G] icon from the Search Google line. Perhaps you don't have
> a new enough build with ajschult's patch.

Ah, yes. Missed that...

> Although I see why you would want to line up the text of each popup with the
> URL bar I'm not so convinced about the line height. It's probably harder as
> there are font metrics to account for.
>

There's a min-height on the tree rows in tree.css that thought I could use on
the menuitems:
 
 .autocomplete-history-popup > menuitem {
   max-width: none !important;
+  min-height: 18px;
+  padding: 0px 2px 0px 2px;
   font: message-box

In tree.css:

treechildren::-moz-tree-row {
 border: 1px solid transparent;
 background-color: transparent;
 min-height: 18px;
 height: 1.3em;


> You might find it easier to fix Modern first ;-)
> 

Good point ;)
Whiteboard: ETA: SeaMonkey 1.0b
FF has same problem of course
Product: Core → SeaMonkey
Assignee: stefanh → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: