[SOLVED] Increase Scrollbar width (L)ubuntu

User Help for Mozilla Thunderbird
Post Reply
KFlash
Posts: 14
Joined: November 5th, 2004, 6:56 am
Location: Germany
Contact:

[SOLVED] Increase Scrollbar width (L)ubuntu

Post by KFlash »

Hi,
I run Thunderbird in Lubunutu. The vertical scrollbars are so damn narrow (see picture) that it is hard to interact with them, when you are not working with a physical mouse (Laptop anyone?).

Can I change them? How and were?

In the picture you can also see a normal Lubuntu File Explorer window. Its scroll bar is double the with of the Thunderbird scrollbar. So This seems to be a (strange) Thunderbird Design decision.
Last edited by KFlash on August 9th, 2018, 11:30 am, edited 1 time in total.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Increase Scrollbar width (L)ubuntu

Post by tanstaafl »

Try using the CustomizeMyBird add-on to tweak the vertical scrollbars. I used to use the NewScrollbars add-on to replace/tweak the scrollbar but it doesn't support version 60, and its functionality is now part of CustomizeMyBird.

https://addons.thunderbird.net/en-US/th ... rs/?src=ss
https://addons.thunderbird.net/en-US/th ... izemybird/
morat
Posts: 6425
Joined: February 3rd, 2009, 6:29 pm

Re: Increase Scrollbar width (L)ubuntu

Post by morat »

Try this:

Code: Select all

/* Thunderbird userChrome.css */

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

scrollbar { width: 30px !important; }
http://kb.mozillazine.org/UserChrome.css
KFlash
Posts: 14
Joined: November 5th, 2004, 6:56 am
Location: Germany
Contact:

Re: Increase Scrollbar width (L)ubuntu

Post by KFlash »

morat wrote:Try this:

Code: Select all

/* Thunderbird userChrome.css */

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

scrollbar { width: 30px !important; }
http://kb.mozillazine.org/UserChrome.css
This is GOLD! 15px was good enough for me. Thanks!
Solved.
KFlash
Posts: 14
Joined: November 5th, 2004, 6:56 am
Location: Germany
Contact:

Re: [SOLVED] Increase Scrollbar width (L)ubuntu

Post by KFlash »

Strange... After a restart the changes are gone, but the file is still there...
Is this UserChrome somehow overwritten by something?

Ok, it is not in the main window... The main window is correct, but the "new email" window has small scroll bars.
morat
Posts: 6425
Joined: February 3rd, 2009, 6:29 pm

Re: [SOLVED] Increase Scrollbar width (L)ubuntu

Post by morat »

You can use a USER_SHEET style to change the scrollbar in the folder pane and thread pane in the 3pane window.

You need a AGENT_SHEET style to change the scrollbar in the message pane in the 3pane window.

You need a AGENT_SHEET style to change the scrollbar in the message window.

The userChrome.css file supports USER_SHEET styles, but not AGENT_SHEET styles.

Here is a code snippet to test a AGENT_SHEET style using the error console.

Code: Select all

var css = "scrollbar { width: 50px !important; }";
var ios = Components.classes["@mozilla.org/network/io-service;1"].
  getService(Components.interfaces.nsIIOService);
var uri = ios.newURI("data:text/css," + encodeURIComponent(css), null, null);
var sss = Components.classes["@mozilla.org/content/style-sheet-service;1"].
  getService(Components.interfaces.nsIStyleSheetService);
var type =  sss.AGENT_SHEET;
// var type =  sss.USER_SHEET;
if (sss.sheetRegistered(uri, type)) sss.unregisterSheet(uri, type);
else sss.loadAndRegisterSheet(uri, type);
ReloadMessage();
Is there a style addon that supports AGENT_SHEET styles? AFAIK, Stylish addon is banned in Thunderbird.

Firefox pulls Stylish addon
http://www.bleepingcomputer.com/news/so ... r-history/
KFlash
Posts: 14
Joined: November 5th, 2004, 6:56 am
Location: Germany
Contact:

Re: [SOLVED] Increase Scrollbar width (L)ubuntu

Post by KFlash »

I mean, userChrome.css was OKish . But to be honest, even that is a bit a strech.
But now fiddeling around with unsupported plugins to get basic usability working? Why are 3th party plugins necessary to get fundamentals right?
Whould Mozilla also wait for 3th party plugins if the "SEND" Button was 3mm wide?

Why is the default width of the scrollbars so tiny? Why can't this be set to a usable width?
If this was a super HD display (which it is not) I could barely see the scrollbars.
User avatar
Frank Lion
Posts: 21177
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: [SOLVED] Increase Scrollbar width (L)ubuntu

Post by Frank Lion »

KFlash wrote:But now fiddeling around with unsupported plugins to get basic usability working?

Why are 3th party plugins necessary to get fundamentals right?

Whould Mozilla also wait for 3th party plugins if the "SEND" Button was 3mm wide?

Why is the default width of the scrollbars so tiny?

Why can't this be set to a usable width?
You trying out as a quiz show host or something?
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
Post Reply