Sunbird 0.9: switching the Task List to the right
Hi,
Is it possible to switch the Task List to the right hand side using userchrome.css, or a similar method? It is personal preference but I would very much like the calendar on the left and the Task List on the right :)
Many thanks
Owen
Is it possible to switch the Task List to the right hand side using userchrome.css, or a similar method? It is personal preference but I would very much like the calendar on the left and the Task List on the right :)
Many thanks
Owen
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Hi Owen,
unfortunately you can only move the small calendar and the task list on the left together as they are both in a container, whose placement could be changed via userchrome.css.
This container (vbox for "vertical box") is here:
http://mxr.mozilla.org/comm-central/s...
The only way for you would be to change the source code in such a way that there would be an additional vbox container on the right side, which would only hold the task list.
I hope that helps somewhat
Simon -
Inappropriate?Actually, I phrased my question slightly wrongly. The answer you suggested is EXACTLY what I wanted: the whole vertical box on the right. I wanted the calendar on the left and the single vertical bar (with mini-calendar and tasks) on the right.
The placement of the tasks in Lightning was something I liked. The boxes on both left and right was something I definitely didn't like. (I much prefer the tabbed approach to the mini-calendar and calendar list that Sunboird uses.)
On the other hand I have looked at the XUL file you linked to, and I am not sure how to reposition the vBox with the id "left-hand-content", which is I presume the one you are referring to.
My reading of the the xul file suggests that repositioning this vBox would also mean repositioning the splitter so that it sits on the right of the calendar and thus on the left of the repositioned task box.
Am I right?
If this is one of those cases where its "2 minutes if you know what you are doing" and "2 days if you are exploring in the dark", then I would be glad of an example css fragment, or pointers as to how to approach this.
Many many thanks
Owen -
Inappropriate?First of all, I see that you're using Sunbird 0.9, so this is the correct link:
http://mxr.mozilla.org/mozilla1.8/sou...
The easiest solution to your problem would be:
- open the file calendar.jar, which is located in the 'chrome' sub-folder of your Sunbird program directory in zip-reader (e.g. WinZip or FileZip)
- extract the file 'calendar.xul' to C:\ (make sure that the 'Use folder names' option is enabled)
- Edit the file in a text editor
- Move the code parts marked here: http://bonsai.mozilla.org/cvsblame.cg...
below this piece of code: http://bonsai.mozilla.org/cvsblame.cg...
- Then move the code parts marked here: http://bonsai.mozilla.org/cvsblame.cg...
below the code statement (beginning with the "splitter" part) that you moved earlier - Save the file
- Update the file in calendar.jar with your changed file (make sure that the 'Use folder names' option is enabled)
- Start Sunbird and enjoy
I’m confident
-
Inappropriate?Hi,
Many thanks. Funnily enough I had already thought of altering the xul file, but the mention of css made me think that perhaps there was a less drastic way of doing it :)
Your instructions worked fine, with one proviso, and I know have exactly what I want - and (for me at least) the new layout is far more intuitive, perhaps because I amke a lot of use of the task list.
The one proviso: in step 4 above you have to add the cut code ABOVE the lines marked in the second piece of code; that is, above line 210 and not after line 211. I am noting this here just in case anyone else decides to follow along :)
All I need now is a "task view" like in Lightning (where the Tasks fill the big panel and the vertical box contains the mini-calendar and a list of coming events) and Sunbird will be perfect - and I suppose I can figure out how to do this too, if I play with the xul file long enough :)
Many many thanks.
Owen
1 person says
this answers the question
Loading Profile...




EMPLOYEE
