Closed Bug 1133228 Opened 9 years ago Closed 9 years ago

Address book search box should have flexible width

Categories

(SeaMonkey :: MailNews: Address Book & Contacts, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.36

People

(Reporter: philip.chee, Assigned: philip.chee)

Details

Attachments

(1 file, 1 obsolete file)

SeaMonkey version of Thunderbird Bug 669235

(From Bug 669235 comment #0)
> Add flex="1" to the toolbaritem containing the search box
> 
> The address book search box is statically sized. I think it should be
> flexible, like the gloda search box, since it's currently a waste of space
> if you size the address book to be fairly wide.
Attached patch Add flex to the searchBox (obsolete) — Splinter Review
Attachment #8564567 - Flags: review?(iann_bugzilla)
Attachment #8564567 - Attachment is obsolete: true
Attachment #8564567 - Flags: review?(iann_bugzilla)
Attachment #8564579 - Flags: review?(iann_bugzilla)
(In reply to Ian Neal from comment #3)
> For when customising, does it also need something like:
> http://mxr.mozilla.org/comm-central/source/suite/themes/classic/mac/messenger/primaryToolbar.css#217
> http://mxr.mozilla.org/comm-central/source/suite/themes/classic/messenger/primaryToolbar.css#255
> http://mxr.mozilla.org/comm-central/source/suite/themes/modern/messenger/primaryToolbar.css#292

toolbarpaletteitems are already constrained to 110px. With a 10px font, 110px corresponds to 11em.
Here's a handy web converter for you http://pxtoem.com/ .

> I am also not sure about setting the max-width, the searchToolbar for the
> main mail window doesn't seem to need it.

The searchToolbar in the main mail window is on a toolbar with several other wide toolbar items. In the addressbook all the items on the primary toolbar are buttons except for the searchbox.
Flags: needinfo?(iann_bugzilla)
Comment on attachment 8564579 [details] [diff] [review]
Patch v1 Add flex to the searchBox

Having tested without the max-width, it seems to work better (maybe it is just on linux). r=me without the css changes unless there is an issue on other platforms.
Flags: needinfo?(iann_bugzilla)
Attachment #8564579 - Flags: review?(iann_bugzilla) → review+
Pushed to comm-central:
http://hg.mozilla.org/comm-central/rev/ff495d26d67c
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.36
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: