Closed Bug 728101 Opened 12 years ago Closed 12 years ago
Global search box shrinks when selected
Noticed that the search box in trunk shrinks a couple of pixels when selected.
This is because in unselected state the text is italic (and wider) and when selected normal. This can be solved by giving a fixed width to the search box, removing the italic (like in Bug 636014) or exchange the flexible spacer with fixed spacer. I'm on XP now and can't test if the last really would solve the problem.
With defining the width the box no more jumps when selected. I gave a width of 25em. If needed this width can be adjusted. When more elements are on the toolbar then the search box adapts the width as before. The patch also gives a width to the search box on Address book which has the same problem.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #598397 - Flags: review?(nisses.mail)
Patch updated after landing of Bug 719008. Now also the search field in Gloda tab shrinks.
Comment on attachment 599679 [details] [diff] [review] Give a fixed width Looks good, functions as expected!
Attachment #599679 - Flags: review?(nisses.mail) → review+
http://hg.mozilla.org/comm-central/rev/6c1d59144158 Also, please follow the directions below when submitting any future patches to make life easier for the people checking in on your behalf. Thanks! https://developer.mozilla.org/en/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 13.0
You need to log in before you can comment on or make changes to this bug.