Closed
Bug 460756
Opened 16 years ago
Closed 16 years ago
Put the search box in the main toolbar of bookmarks manager
Categories
(SeaMonkey :: Bookmarks & History, defect)
SeaMonkey
Bookmarks & History
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.0a2
People
(Reporter: stefanh, Assigned: stefanh)
Details
Attachments
(1 file, 1 obsolete file)
2.26 KB,
patch
|
neil
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
I think it'd look better if we had the search box in the main toolbar and removed the secondary toolbar. The current look is not so nice (at least on mac - the search box is stretched across the whole toolbar) and it feels a bit like an overkill to have a toolbar for just a search box.
Assignee | ||
Comment 1•16 years ago
|
||
This looks good to me, but I haven't tested classic nix/win. For Modern, I use the same padding etc on the toolbaritem as we do on toolbarbuttons. Same goes for the label styles. There's a slight glitch in that it looks like the distance between the "Search" label and the rightmost button label is not the same as the distance between the other button labels. Not sure how much this matters - it won't matter at all if people agree with bug 460694.
Attachment #343904 -
Flags: superreview?(neil)
Attachment #343904 -
Flags: review?(neil)
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → seamonkey2.0a2
Comment 2•16 years ago
|
||
+toolbaritem {
+ border: 1px solid transparent;
+ padding: 1px 2px;
+}
+
+toolbaritem > label {
+ margin: 0;
+ padding: 0;
+}
This isn't right. You should make this specific to your toolbaritem id="bookmarks-search-box"
Assignee | ||
Comment 3•16 years ago
|
||
Comment on attachment 343904 [details] [diff] [review]
proposed patch
I'll look at this tomorrow.
Attachment #343904 -
Flags: superreview?(neil)
Attachment #343904 -
Flags: review?(neil)
Assignee | ||
Comment 4•16 years ago
|
||
OK, so I was wrong about needing to style the toolbaritem... I need to fix up the label, though - I do that in bookmarksWindow.css. Instead of doing "bookmarks-search-box" > label I used an id on the label. Note that fixing bug 460694 would make the css unnecessary (and of course I volunteer to fix 460694 now if you prefer that ;-)
Attachment #343904 -
Attachment is obsolete: true
Attachment #344518 -
Flags: superreview?(neil)
Attachment #344518 -
Flags: review?(neil)
Comment 5•16 years ago
|
||
> + <toolbaritem align="center">
Could you do me a favour and give the toolbaritem an ID? This is for the future when toolbar customization is possible. Thanks.
Assignee | ||
Comment 6•16 years ago
|
||
(In reply to comment #5)
> > + <toolbaritem align="center">
>
> Could you do me a favour and give the toolbaritem an ID? This is for the future
> when toolbar customization is possible. Thanks.
Sure, the id will be "bookmarks-search-box". I'll wait for Neil's reviews before I change anything, though.
Updated•16 years ago
|
Attachment #344518 -
Flags: superreview?(neil)
Attachment #344518 -
Flags: superreview+
Attachment #344518 -
Flags: review?(neil)
Attachment #344518 -
Flags: review+
Comment 7•16 years ago
|
||
Comment on attachment 344518 [details] [diff] [review]
New version with css in bookmarksWindow.css
r+sr=me but only on the XUL changes. I think the CSS changes are wrong and may well become obsolete anyway.
Assignee | ||
Comment 8•16 years ago
|
||
Pushed changeset 659472bd1018 (with an id on the toolbaritem and no id on the label).
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•16 years ago
|
||
(and without css changes)
Comment 10•16 years ago
|
||
It would be good to have Accel+F focus the search box (dao pointed this out).
You need to log in
before you can comment on or make changes to this bug.
Description
•