Closed
Bug 528752
Opened 15 years ago
Closed 15 years ago
[Mac Classic] History drop-down height doesn't match full number of rows
Categories
(SeaMonkey :: Themes, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.1a1
People
(Reporter: stefanh, Assigned: stefanh)
Details
(Keywords: fixed-seamonkey2.0.5)
Attachments
(1 file, 1 obsolete file)
585 bytes,
patch
|
neil
:
superreview+
kairo
:
approval-seamonkey2.0.5+
|
Details | Diff | Splinter Review |
The 25em height of the history drop-down makes room for about 16 rows in Mac Classic. The "about" is the problem here - when you move down to the last visible entry, the list will scroll down a couple of pixels since the height doesn't match a full number of rows.
25em equals to 16 rows + a few pixels. Now, every row is 19px high, so optionally we should have a max-height of 304px
Assignee | ||
Comment 1•15 years ago
|
||
Modern actually only show 15 rows, and there's also some extra space at the bottom, so all rows fit.
Attachment #412433 -
Flags: superreview?(neil)
Attachment #412433 -
Flags: review?(mnyromyr)
Assignee | ||
Comment 2•15 years ago
|
||
Karsten, this is also a comm-1.9.1 problem, so you should be able to look at it ;-)
Assignee | ||
Updated•15 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → seamonkey2.1a1
Comment 3•15 years ago
|
||
Comment on attachment 412433 [details] [diff] [review]
Fix height
How can you be sure that rows will always be 19px?
Attachment #412433 -
Attachment is patch: true
Attachment #412433 -
Attachment mime type: application/octet-stream → text/plain
Assignee | ||
Comment 4•15 years ago
|
||
(In reply to comment #3)
> (From update of attachment 412433 [details] [diff] [review])
> How can you be sure that rows will always be 19px?
The min-height of a menuitem is 19px and the font we use here is smaller than in regular menuitems and you can't change the font-size in the OS ui.
Assignee | ||
Comment 5•15 years ago
|
||
fwiw, seems that 25.3em will also give me the height I want.
Comment 6•15 years ago
|
||
Based on your figures we have 1em = 12px, so if you use 24em you should get 15 rows of 19 pixels plus 3 spare pixels, which will look similar to Modern (where we use 25em to get 16 rows of 17 pixels plus 3 spare pixels). If you don't have a border you could use 27em which would get you 17 rows plus 1 spare pixel.
Comment 7•15 years ago
|
||
Given that Modern on Mac has 15 rows + some pixels, I'd prefer the 24em for Classic.
Assignee | ||
Comment 8•15 years ago
|
||
Using em will just get it "almost" right.
Comment 9•15 years ago
|
||
Granted, but 15 rows à 19px would be 285px...
In either case, the number of rows should be the same for both themes, so I'm a bit unsure why this bug only covers Classic? One could argue that the Classic dropdown is more than sufficient to show its 15 entries like Modern does...
Assignee | ||
Comment 10•15 years ago
|
||
Sure, we can have 285px, I'm more concerned with not having any empty space at the bottom ;-)
Updated•15 years ago
|
Attachment #412433 -
Flags: review?(mnyromyr) → review+
Comment 11•15 years ago
|
||
Comment on attachment 412433 [details] [diff] [review]
Fix height
Okay, given you make that 285px so that Classic and Modern show the same number of lines.
Assignee | ||
Comment 12•15 years ago
|
||
Actually, we may want to have a different approach for trunk (since we don't support tiger, we can restyle it a bit), but I would like this to land on branch.
Attachment #412433 -
Attachment is obsolete: true
Attachment #436883 -
Flags: superreview?(neil)
Attachment #412433 -
Flags: superreview?(neil)
Comment 13•15 years ago
|
||
Comment on attachment 436883 [details] [diff] [review]
make it 285px
This would be wrong on any sane OS, but fortunately this is a Mac-only file.
Attachment #436883 -
Flags: superreview?(neil) → superreview+
Assignee | ||
Comment 14•15 years ago
|
||
Comment on attachment 436883 [details] [diff] [review]
make it 285px
This is a safe ui-tweak for mac that will correct an annoyance in the history drop-down list.
Attachment #436883 -
Flags: approval-seamonkey2.0.5?
Updated•15 years ago
|
Attachment #436883 -
Flags: approval-seamonkey2.0.5? → approval-seamonkey2.0.5+
Assignee | ||
Comment 15•15 years ago
|
||
http://hg.mozilla.org/comm-central/rev/2472e56b6660
http://hg.mozilla.org/releases/comm-1.9.1/rev/3ee2884da94f
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: fixed-seamonkey2.0.5
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•