Open main menu

CDOT Wiki β

User:Mikey/project

< User:Mikey

Project Name

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.