Difference between revisions of "User:Mikey/project"
(→Project Description) |
(→Project Details) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Project Name == | == Project Name == | ||
− | Bug 515648 - Customizable Gloda Searchbar | + | [https://bugzilla.mozilla.org/show_bug.cgi?id=515648 Bug 515648 - Customizable Gloda Searchbar] |
== Project Description == | == Project Description == | ||
Line 12: | Line 12: | ||
== Project Details == | == Project Details == | ||
− | ... | + | So far from what I know, to add this functionality, you need to have certain XUL elements with appropriate CSS styles. For example, all I really need in order to allow this is a splitter, toolbarspring and the textbox (searchbar). |
+ | The toolbarspring and the textbox would be on each side of the splitter. The splitter would need some CSS styles such as "resizeAfter", "resizeBefore", and "collapse", and for the other two elements, they would need "flex" style at minimum. | ||
== Project News == | == Project News == | ||
− | ... | + | [https://bug515648.bugzilla.mozilla.org/attachment.cgi?id=408162 0.1 Release]: |
+ | A new function, UpdateSpringSplitterState(), is added to the msgMail3PaneWindow.js and mailCore.js. This function is added to the msgMail3PaneWindow.js, for when the Thunderbird application starts up, it must configure the toolbar depending on if the searchbar is present or not. If the searchbar is present, UpdateSpringSplitterState() will check if a splitter and a toolbarspring is present. If the searchbar is not present, UpdateSpringSplitterState() will remove any default splitter in the toolbar. The mailCore.js' UpdateSpringSplitterState() is called in a function for when the user opens the Customize Toolbar window. If any changes are made to the toolbar, it must check if the searchbar is present or not, and so forth. | ||
+ | |||
+ | |||
+ | '''Problem:''' | ||
+ | Unable to get my UpdateSpringSearchSplitter() to work correctly, because the splitter.css file that the XUL Splitter element references to was not being changed with my new changes. |
Latest revision as of 22:42, 23 October 2009
Contents
Project Name
Bug 515648 - Customizable Gloda Searchbar
Project Description
This project involves adding the functionality for users to customize the width of their searchbar in Mozilla's Thunderbird. Unlike Firefox and Postbox, Thunderbird has not yet added this benefit. For example, this would allow the searchbar to be more visible to the user or allow the user to have additional buttons on their toolbar.
Project Leader(s)
Project Contributor(s)
...
Project Details
So far from what I know, to add this functionality, you need to have certain XUL elements with appropriate CSS styles. For example, all I really need in order to allow this is a splitter, toolbarspring and the textbox (searchbar). The toolbarspring and the textbox would be on each side of the splitter. The splitter would need some CSS styles such as "resizeAfter", "resizeBefore", and "collapse", and for the other two elements, they would need "flex" style at minimum.
Project News
0.1 Release: A new function, UpdateSpringSplitterState(), is added to the msgMail3PaneWindow.js and mailCore.js. This function is added to the msgMail3PaneWindow.js, for when the Thunderbird application starts up, it must configure the toolbar depending on if the searchbar is present or not. If the searchbar is present, UpdateSpringSplitterState() will check if a splitter and a toolbarspring is present. If the searchbar is not present, UpdateSpringSplitterState() will remove any default splitter in the toolbar. The mailCore.js' UpdateSpringSplitterState() is called in a function for when the user opens the Customize Toolbar window. If any changes are made to the toolbar, it must check if the searchbar is present or not, and so forth.
Problem:
Unable to get my UpdateSpringSearchSplitter() to work correctly, because the splitter.css file that the XUL Splitter element references to was not being changed with my new changes.