How do I get rid of tasks pane in tasks tab?

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
Post Reply
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

How do I get rid of tasks pane in tasks tab?

Post by tanstaafl »

I have been using ReminderFox for a calendar based reminder list. Now that Lightning is integrated into version 60 I'm trying to configure Lightning to create a calendar based reminder list, and use it instead. Unless I set the event view to a single day I can only read two or three words of the event description (unless I double click on it), and when looking ahead I don't need the time information (which wastes a lot of screen real estate).

I imported my calendar from ReminderFox, and checked tasks in "events and tasks" to get rid of the large calendar pane. I now have three vertical panes in a Tasks tab - a mini-month (useful), new tasks pane (not useful), and a vertical event pane that identifies today, tomorrow and the date in later events (exactly what I wanted). How do I get rid of the middle vertical pane? The only way I can find to get rid of it re-enables the calendar pane (wrecking the calendar based reminder list), and I can't seem to drag and drop the vertical edges to reduce the size. The mouse cursor will change from a single arrow to a horizontal double arrow when I select the edge of the vertical pane, but it won't let me drag and drop it.

As a temporary workaround I closed the tasks tab (that had the mini-month, new tasks and events) and dragged the border above "show completed tasks" in the "events and tasks" vertical pane in the main window as low as I could. That only wastes the bottom 3 lines in the vertical pane on the right. This is a reasonable replacement for what I'm used to but there really isn't enough room to have all of the data I want to see in the folder pane and the event&tasks pane at the same time. Especially since I like to read messages in a message preview pane instead of a tab/window. So I enabled the tasks tab again.

Any suggestions on how I can get rid of the middle vertical pane (new tasks) in the tasks tab or reduce its width?

Note: I asked the same question in the TB SUMO forum at https://support.mozilla.org/en-US/questions/1230364
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Re: How do I get rid of tasks pane in tasks tab?

Post by morat »

Here is how to hide the hbox element with the "New Task" button inside.

Code: Select all

/* Thunderbird userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

#task-addition-box {
  display: none !important;
}
http://kb.mozillazine.org/UserChrome.css

I don't use the tasks tab so I may be misunderstanding what you're asking.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: How do I get rid of tasks pane in tasks tab?

Post by tanstaafl »

I tried that and it got rid of the New task button and two edit fields to the right, leaving just the other line with a checkbox, '!' and Title at the top of that vertical pane. However, its not that hbox that I'm trying to get rid of. Its the vertical pane that contains it that I want to get rid of.

The CSS code you suggested gets rid one of the two lines at the top of the middle vertical pane. However, its the window containing that hbox (or perhaps its parent, I'm not sure of the exact hierarchy) that I'd like to get rid of. I'm not trying to free up more space within the middle vertical pane (I have no need for that pane), I'm trying to reduce its size so that I can make the events vertical pane wider.
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Re: How do I get rid of tasks pane in tasks tab?

Post by morat »

Here are the DOMi snapshots for the calendar and tasks tabs in Thunderbird 52.

Calendar
http://i63.tinypic.com/28tl7y9.png

Tasks
http://i64.tinypic.com/25jyy42.png

If you hide the parent parent element i.e. deck[id="calendarDisplayDeck"], then the style hides the pane in the calendar tab as well.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: How do I get rid of tasks pane in tasks tab?

Post by tanstaafl »

Interesting. Thanks for trying to help.
Post Reply